Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 107.6 kB / 16.27 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 192.3 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9154/0.9154, allocations: 135.1 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 63.89 kB / 0.506 GB, free: 8.379 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 80.9 MB / 0.585 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.006917/0.34, allocations: 6.954 MB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1585/0.4985, allocations: 155.7 MB / 0.7439 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.4998, allocations: 31.81 kB / 0.7439 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.5007, allocations: 289.2 kB / 0.7442 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.5028, allocations: 0.7181 MB / 0.7449 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.5054, allocations: 1.268 MB / 0.7461 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004148/0.5095, allocations: 4.539 MB / 0.7505 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3111/0.8206, allocations: 2.869 MB / 0.7533 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.8237, allocations: 1.732 MB / 0.755 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002459/0.8261, allocations: 1.773 MB / 0.7568 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.8276, allocations: 466.4 kB / 0.7572 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.8301, allocations: 1.034 MB / 0.7582 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009036/0.831, allocations: 0.9898 MB / 0.7592 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.8333, allocations: 1.877 MB / 0.761 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005647/0.8389, allocations: 5.383 MB / 0.7663 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8389, allocations: 0 / 0.7663 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.839, allocations: 0.9062 kB / 0.7663 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001044/0.8391, allocations: 0 / 0.7663 GB, free: 1.496 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.008785/0.8479, allocations: 3.873 MB / 0.7701 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.8479, allocations: 8.672 kB / 0.7701 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009902/0.8578, allocations: 1.278 MB / 0.7713 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.8618, allocations: 2.095 MB / 0.7734 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.8619, allocations: 226.2 kB / 0.7736 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006136/0.8626, allocations: 289.4 kB / 0.7738 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008835/0.8714, allocations: 4.458 MB / 0.7782 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.8715, allocations: 3.031 kB / 0.7782 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.8718, allocations: 124.5 kB / 0.7783 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.8719, allocations: 75.41 kB / 0.7784 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009736/0.8816, allocations: 4.886 MB / 0.7832 GB, free: 14.88 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.9016, allocations: 14.13 MB / 0.797 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.9117, allocations: 4.044 MB / 0.8009 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/0.9157, allocations: 1.672 MB / 0.8025 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.917, allocations: 1.072 MB / 0.8036 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004867/0.9219, allocations: 2.039 MB / 0.8056 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 4.118e-06/0.9219, allocations: 0 / 0.8056 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.0138/0.9357, allocations: 5.218 MB / 0.8107 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9358, allocations: 208.5 kB / 0.8109 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/0.9386, allocations: 1.938 MB / 0.8128 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/0.939, allocations: 64.83 kB / 0.8128 GB, free: 3.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.9401, allocations: 1.164 MB / 0.814 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007786/0.9409, allocations: 0.7158 MB / 0.8147 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009462/0.9418, allocations: 0.5208 MB / 0.8152 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.9419, allocations: 301.1 kB / 0.8155 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.9457, allocations: 1.578 MB / 0.817 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00403/0.9497, allocations: 1.877 MB / 0.8188 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008011/0.9577, allocations: 3.418 MB / 0.8222 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.9578, allocations: 4 kB / 0.8222 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01016/0.9679, allocations: 3.951 MB / 0.826 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.968, allocations: 14.59 kB / 0.8261 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.968, allocations: 8.031 kB / 0.8261 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.9686, allocations: 88.78 kB / 0.8261 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/0.9722, allocations: 0.6977 MB / 0.8268 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.9744, allocations: 1.695 MB / 0.8285 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.9778, allocations: 433.5 kB / 0.8289 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.9781, allocations: 131.8 kB / 0.829 GB, free: 4.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (273): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001794/0.9799, allocations: 0.936 MB / 0.8299 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005716/0.9805, allocations: 213.3 kB / 0.8301 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9909, allocations: 4.209 MB / 0.8342 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.9909, allocations: 28 kB / 0.8343 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.9909, allocations: 0 / 0.8343 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.991, allocations: 11.95 kB / 0.8343 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/1.005, allocations: 7.882 MB / 0.842 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.005, allocations: 0 / 0.842 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003017/1.008, allocations: 0.58 MB / 0.8426 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/1.009, allocations: 82.53 kB / 0.8426 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.009, allocations: 63.95 kB / 0.8427 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.011, allocations: 1.727 MB / 0.8444 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.011, allocations: 0 / 0.8444 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/1.02, allocations: 3.458 MB / 0.8478 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.021, allocations: 0.7397 MB / 0.8485 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/1.022, allocations: 67.62 kB / 0.8485 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/1.024, allocations: 267.6 kB / 0.8488 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.024, allocations: 149.8 kB / 0.8489 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/1.024, allocations: 83.94 kB / 0.849 GB, free: 0 / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002163/1.027, allocations: 1.474 MB / 0.8505 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/1.027, allocations: 0 / 0.8505 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002369/1.029, allocations: 0.8722 MB / 0.8513 GB, free: 13.63 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/1.031, allocations: 0.6909 MB / 0.852 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01485/1.045, allocations: 5.929 MB / 0.8578 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.046, allocations: 0 / 0.8578 GB, free: 7.309 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/1.05, allocations: 1.798 MB / 0.8595 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.052, allocations: 425.5 kB / 0.8599 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.066, allocations: 6.354 MB / 0.8661 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002367/1.068, allocations: 2.223 MB / 0.8683 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/1.07, allocations: 326.4 kB / 0.8686 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/1.07, allocations: 0 / 0.8686 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.07961/1.15, allocations: 59.34 MB / 0.9266 GB, free: 0.9648 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o] Error 1