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.001532/0.001532, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001484/0.001484, allocations: 190 kB / 17.2 MB, free: 5.953 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.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.795/0.795, allocations: 135.2 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.89 kB / 0.506 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3076, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007196/0.3149, allocations: 6.949 MB / 0.5918 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1721/0.487, allocations: 155.7 MB / 0.7439 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.4884, allocations: 31.88 kB / 0.744 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.4891, allocations: 281.2 kB / 0.7442 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.4913, allocations: 0.7099 MB / 0.7449 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.4939, allocations: 1.277 MB / 0.7462 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004653/0.4985, allocations: 4.539 MB / 0.7506 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2829/0.7815, allocations: 2.859 MB / 0.7534 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.7841, allocations: 1.733 MB / 0.7551 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.7857, allocations: 1.774 MB / 0.7568 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.7866, allocations: 468.5 kB / 0.7573 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.7888, allocations: 1.032 MB / 0.7583 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.7896, allocations: 0.995 MB / 0.7592 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.7915, allocations: 1.87 MB / 0.7611 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005502/0.797, allocations: 5.382 MB / 0.7663 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7971, allocations: 4.781 kB / 0.7663 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7971, allocations: 0 / 0.7663 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.363e-05/0.7972, allocations: 0 / 0.7663 GB, free: 1.516 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.007127/0.8043, allocations: 3.867 MB / 0.7701 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.8044, allocations: 11.92 kB / 0.7701 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/0.8131, allocations: 1.276 MB / 0.7714 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.8169, allocations: 2.096 MB / 0.7734 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.817, allocations: 229.4 kB / 0.7736 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/0.8175, allocations: 287 kB / 0.7739 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007866/0.8254, allocations: 4.453 MB / 0.7782 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.8255, allocations: 5.031 kB / 0.7783 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/0.8258, allocations: 126.8 kB / 0.7784 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.8258, allocations: 74.34 kB / 0.7784 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009165/0.835, allocations: 4.883 MB / 0.7832 GB, free: 14.9 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.02005/0.855, allocations: 14.14 MB / 0.797 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/0.8644, allocations: 4.025 MB / 0.801 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.8676, allocations: 1.671 MB / 0.8026 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.8688, allocations: 1.077 MB / 0.8036 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003833/0.8727, allocations: 2.04 MB / 0.8056 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 3.877e-06/0.8727, allocations: 0 / 0.8056 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01298/0.8857, allocations: 5.217 MB / 0.8107 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.8859, allocations: 207.5 kB / 0.8109 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.8887, allocations: 1.941 MB / 0.8128 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/0.8891, allocations: 64.17 kB / 0.8129 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.8902, allocations: 1.166 MB / 0.814 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/0.891, allocations: 0.7111 MB / 0.8147 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000858/0.8919, allocations: 0.521 MB / 0.8152 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.892, allocations: 301.1 kB / 0.8155 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003583/0.8956, allocations: 1.581 MB / 0.8171 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004006/0.8996, allocations: 1.878 MB / 0.8189 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007996/0.9076, allocations: 3.419 MB / 0.8222 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.9076, allocations: 0 / 0.8222 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009961/0.9176, allocations: 3.956 MB / 0.8261 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.9177, allocations: 7.938 kB / 0.8261 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.9177, allocations: 8 kB / 0.8261 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000587/0.9183, allocations: 99.98 kB / 0.8262 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/0.9217, allocations: 0.6915 MB / 0.8269 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.924, allocations: 1.702 MB / 0.8285 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/0.9272, allocations: 429.5 kB / 0.8289 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002705/0.9275, allocations: 131.8 kB / 0.8291 GB, free: 4.664 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.001857/0.9293, allocations: 0.9276 MB / 0.83 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/0.9299, allocations: 213.5 kB / 0.8302 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.9401, allocations: 4.212 MB / 0.8343 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.9402, allocations: 20 kB / 0.8343 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9402, allocations: 4 kB / 0.8343 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.9402, allocations: 11.95 kB / 0.8343 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.9547, allocations: 7.883 MB / 0.842 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.9547, allocations: 0 / 0.842 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002935/0.9577, allocations: 0.5806 MB / 0.8426 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.9581, allocations: 83.44 kB / 0.8427 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.9583, allocations: 67.94 kB / 0.8427 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.9605, allocations: 1.715 MB / 0.8444 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9605, allocations: 144 / 0.8444 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008492/0.969, allocations: 3.472 MB / 0.8478 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00177/0.9708, allocations: 0.7358 MB / 0.8485 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/0.9713, allocations: 63.69 kB / 0.8486 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/0.9737, allocations: 278.5 kB / 0.8488 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.974, allocations: 141.8 kB / 0.849 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002161/0.9743, allocations: 87.94 kB / 0.8491 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002401/0.9767, allocations: 1.474 MB / 0.8505 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9767, allocations: 0 / 0.8505 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002764/0.9794, allocations: 0.8722 MB / 0.8514 GB, free: 13.57 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.002187/0.9816, allocations: 0.6837 MB / 0.852 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01595/0.9976, allocations: 5.93 MB / 0.8578 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9976, allocations: 4.062 kB / 0.8578 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.002, allocations: 1.787 MB / 0.8596 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.004, allocations: 445.2 kB / 0.86 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/1.017, allocations: 6.358 MB / 0.8662 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.019, allocations: 2.226 MB / 0.8684 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/1.021, allocations: 319.2 kB / 0.8687 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/1.021, allocations: 0 / 0.8687 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.08036/1.101, allocations: 59.34 MB / 0.9266 GB, free: 0.9023 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