Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=336,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001164/0.001164, allocations: 187 kB / 17.34 MB, free: 5.719 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.31 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1664, allocations: 80.92 MB / 0.6653 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState): time 0.5304/0.6968, allocations: 160.2 MB / 0.8217 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03572/0.7326, allocations: 26.61 MB / 0.8477 GB, free: 0 / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004237/0.7369, allocations: 71.86 kB / 0.8478 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.7391, allocations: 0.6276 MB / 0.8484 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005011/0.7441, allocations: 1.45 MB / 0.8498 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.7483, allocations: 1.637 MB / 0.8514 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00544/0.7537, allocations: 4.489 MB / 0.8558 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.7582, allocations: 3.942 MB / 0.8596 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003276/0.7615, allocations: 1.877 MB / 0.8615 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.7643, allocations: 2.132 MB / 0.8635 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000596/0.7649, allocations: 416 kB / 0.8639 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.7677, allocations: 1.42 MB / 0.8653 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.7685, allocations: 1.04 MB / 0.8663 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.7704, allocations: 1.827 MB / 0.8681 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00576/0.7761, allocations: 5.495 MB / 0.8735 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7762, allocations: 0 / 0.8735 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7762, allocations: 0 / 0.8735 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.991e-05/0.7762, allocations: 0 / 0.8735 GB, free: 9.836 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 768 * Number of variables: 768 Notification: Performance of Generate backend data structure: time 0.007625/0.7839, allocations: 4.078 MB / 0.8775 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7839, allocations: 9.109 kB / 0.8775 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.7966, allocations: 2.741 MB / 0.8802 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004098/0.8007, allocations: 2.093 MB / 0.8822 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.8009, allocations: 222 kB / 0.8824 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005276/0.8014, allocations: 295.9 kB / 0.8827 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.8118, allocations: 4.958 MB / 0.8875 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/0.8119, allocations: 0 / 0.8875 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003295/0.8122, allocations: 124 kB / 0.8877 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.8123, allocations: 75.94 kB / 0.8877 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/0.8263, allocations: 6.095 MB / 0.8937 GB, free: 4.898 MB / 0.6544 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.02475/0.8511, allocations: 15.32 MB / 0.9087 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007026/0.8581, allocations: 3.658 MB / 0.9122 GB, free: 1.238 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004147/0.8623, allocations: 2.015 MB / 0.9142 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.8627, allocations: 228.3 kB / 0.9144 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004147/0.8668, allocations: 2.126 MB / 0.9165 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=231): time 4.048e-06/0.8668, allocations: 4 kB / 0.9165 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of matching and sorting (n=231): time 0.01435/0.8812, allocations: 6.083 MB / 0.9224 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.8814, allocations: 283 kB / 0.9227 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.8846, allocations: 2.088 MB / 0.9247 GB, free: 4.188 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000397/0.8851, allocations: 77.64 kB / 0.9248 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.8863, allocations: 1.199 MB / 0.926 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.8876, allocations: 0.7701 MB / 0.9267 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.8886, allocations: 472 kB / 0.9272 GB, free: 1.645 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8887, allocations: 309 kB / 0.9275 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004171/0.8929, allocations: 1.694 MB / 0.9291 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.8973, allocations: 2.068 MB / 0.9312 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007636/0.9049, allocations: 3.728 MB / 0.9348 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.905, allocations: 4 kB / 0.9348 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.0106/0.9156, allocations: 4.345 MB / 0.939 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.9157, allocations: 11.94 kB / 0.9391 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.9157, allocations: 4 kB / 0.9391 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006672/0.9164, allocations: 233 kB / 0.9393 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.92, allocations: 0.7176 MB / 0.94 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.9245, allocations: 3.376 MB / 0.9433 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/0.9286, allocations: 0.5415 MB / 0.9438 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005993/0.9292, allocations: 103.9 kB / 0.9439 GB, free: 96 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 265 * 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): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002047/0.9313, allocations: 0.8145 MB / 0.9447 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000737/0.932, allocations: 248.9 kB / 0.9449 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9424, allocations: 4.502 MB / 0.9493 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.658e-05/0.9424, allocations: 28 kB / 0.9494 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.9425, allocations: 7.938 kB / 0.9494 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.9425, allocations: 11.95 kB / 0.9494 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.9582, allocations: 7.721 MB / 0.9569 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.9583, allocations: 8 kB / 0.9569 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/0.9608, allocations: 0.5462 MB / 0.9575 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/0.9616, allocations: 274.3 kB / 0.9577 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/0.9619, allocations: 71.95 kB / 0.9578 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.9674, allocations: 5.263 MB / 0.9629 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.9675, allocations: 15.94 kB / 0.9629 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/0.9796, allocations: 5.672 MB / 0.9685 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.9812, allocations: 0.6615 MB / 0.9691 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/0.9818, allocations: 71.83 kB / 0.9692 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/0.9843, allocations: 271.6 kB / 0.9695 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003912/0.9847, allocations: 189.5 kB / 0.9696 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/0.9849, allocations: 87.95 kB / 0.9697 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002546/0.9874, allocations: 1.507 MB / 0.9712 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9874, allocations: 0 / 0.9712 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002892/0.9903, allocations: 0.8807 MB / 0.9721 GB, free: 2.508 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/0.9928, allocations: 1.025 MB / 0.9731 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009133/1.002, allocations: 3.775 MB / 0.9767 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/1.002, allocations: 8.062 kB / 0.9767 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004498/1.006, allocations: 1.972 MB / 0.9787 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003415/1.01, allocations: 0.6401 MB / 0.9793 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.022, allocations: 6.455 MB / 0.9856 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/1.024, allocations: 2.165 MB / 0.9877 GB, free: 2.594 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.026, allocations: 279.2 kB / 0.988 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of SimCode: time 1.563e-06/1.026, allocations: 0 / 0.988 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.09376/1.119, allocations: 72.69 MB / 1.059 GB, free: 9.621 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.makefile make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyState.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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.RoomSteadyStateFunctions.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.ThermalZones.ReducedOrder.Validation.RoomSteadyStateCalcHelperMain.o] Error 1