Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 182.3 kB / 7.458 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6102/0.6102, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.3 MB / 395 MB, free: 10.15 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.000842, allocations: 111.5 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.6e-06, allocations: 2.875 kB / 0.5528 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.425/3.54, allocations: 2.151 GB / 2.784 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/3.54, allocations: 95.25 kB / 2.784 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1239/3.664, allocations: 67.43 MB / 2.85 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001357/3.664, allocations: 35.92 kB / 2.85 GB, free: 3.105 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002213/3.667, allocations: 1.373 MB / 2.851 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/3.667, allocations: 12.03 kB / 2.851 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/3.667, allocations: 154 kB / 2.851 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2329/3.9, allocations: 1.565 MB / 2.853 GB, free: 279.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/3.9, allocations: 65.47 kB / 2.853 GB, free: 279.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/3.9, allocations: 34.72 kB / 2.853 GB, free: 279.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008782/3.901, allocations: 343.2 kB / 2.853 GB, free: 279.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007403/3.902, allocations: 467.8 kB / 2.854 GB, free: 279.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/3.902, allocations: 9.344 kB / 2.854 GB, free: 279.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/3.902, allocations: 0 / 2.854 GB, free: 279.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/3.902, allocations: 11.69 kB / 2.854 GB, free: 279.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/3.905, allocations: 2.705 MB / 2.856 GB, free: 278.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/3.906, allocations: 284.9 kB / 2.857 GB, free: 278 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/3.906, allocations: 267.4 kB / 2.857 GB, free: 278 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/3.906, allocations: 4.312 kB / 2.857 GB, free: 278 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/3.907, allocations: 265 kB / 2.857 GB, free: 278 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.826e-06/3.907, allocations: 2.469 kB / 2.857 GB, free: 278 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.001028/3.908, allocations: 0.6267 MB / 2.858 GB, free: 277.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/3.908, allocations: 59.19 kB / 2.858 GB, free: 277.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/3.91, allocations: 1.766 MB / 2.86 GB, free: 277.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/3.91, allocations: 29.33 kB / 2.86 GB, free: 277.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/3.91, allocations: 335.4 kB / 2.86 GB, free: 277.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/3.91, allocations: 153.5 kB / 2.86 GB, free: 277.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/3.91, allocations: 5.734 kB / 2.86 GB, free: 277.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/3.91, allocations: 335.2 kB / 2.86 GB, free: 277.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/3.911, allocations: 166.7 kB / 2.861 GB, free: 277.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/3.911, allocations: 276.1 kB / 2.861 GB, free: 277 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/3.911, allocations: 198.6 kB / 2.861 GB, free: 277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/3.911, allocations: 0 / 2.861 GB, free: 277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001019/3.912, allocations: 0.726 MB / 2.862 GB, free: 276.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/3.912, allocations: 6.344 kB / 2.862 GB, free: 276.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/3.912, allocations: 3.688 kB / 2.862 GB, free: 276.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/3.913, allocations: 161.5 kB / 2.862 GB, free: 276.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/3.913, allocations: 121.3 kB / 2.862 GB, free: 276.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/3.915, allocations: 2.473 MB / 2.864 GB, free: 275.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/3.916, allocations: 88.22 kB / 2.865 GB, free: 275.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/3.916, allocations: 25.47 kB / 2.865 GB, free: 275.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/3.916, allocations: 135.5 kB / 2.865 GB, free: 275.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/3.916, allocations: 131.5 kB / 2.865 GB, free: 275.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/3.917, allocations: 0.6954 MB / 2.865 GB, free: 275.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/3.917, allocations: 11.09 kB / 2.865 GB, free: 275.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/3.917, allocations: 3.812 kB / 2.865 GB, free: 275.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/3.917, allocations: 3.609 kB / 2.865 GB, free: 275.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/3.92, allocations: 1.807 MB / 2.867 GB, free: 274.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/3.92, allocations: 3.75 kB / 2.867 GB, free: 274.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/3.92, allocations: 58.89 kB / 2.867 GB, free: 274.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/3.92, allocations: 176.4 kB / 2.867 GB, free: 274.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/3.92, allocations: 11.25 kB / 2.867 GB, free: 274.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/3.923, allocations: 3.783 MB / 2.871 GB, free: 272.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.923, allocations: 0 / 2.871 GB, free: 272.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001217/3.924, allocations: 0.9856 MB / 2.872 GB, free: 272.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/3.925, allocations: 352.4 kB / 2.872 GB, free: 271.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/3.925, allocations: 3.312 kB / 2.872 GB, free: 271.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/3.925, allocations: 41.12 kB / 2.873 GB, free: 271.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/3.926, allocations: 50.36 kB / 2.873 GB, free: 271.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/3.926, allocations: 22.25 kB / 2.873 GB, free: 271.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001282/3.927, allocations: 1.388 MB / 2.874 GB, free: 271.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008921/3.928, allocations: 315.1 kB / 2.874 GB, free: 271.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/3.929, allocations: 0.9395 MB / 2.875 GB, free: 271.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008796/3.93, allocations: 0.5971 MB / 2.876 GB, free: 271.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/3.93, allocations: 2.969 kB / 2.876 GB, free: 271.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/3.93, allocations: 481.9 kB / 2.876 GB, free: 271.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/3.931, allocations: 185 kB / 2.876 GB, free: 271.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/3.935, allocations: 2.393 MB / 2.879 GB, free: 270.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/3.935, allocations: 1.328 MB / 2.88 GB, free: 270.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/3.935, allocations: 0 / 2.88 GB, free: 270.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.0217/3.957, allocations: 14.95 MB / 2.895 GB, free: 269.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)