Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7732/0.7732, allocations: 141.8 MB / 149.1 MB, free: 1.578 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 181.2 kB / 181.9 MB, free: 1.008 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.3 MB / 436 MB, free: 5.664 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 96.56 kB / 0.507 GB, free: 2.34 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 273.7 kB / 0.5884 GB, free: 47.43 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.009e-05, allocations: 1.062 kB / 0.6759 GB, free: 59.81 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 82.78 MB / 0.7567 GB, free: 0.8828 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.574, allocations: 2.148 GB / 2.904 GB, free: 223.2 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/5.574, allocations: 98.72 kB / 2.904 GB, free: 223.1 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1232/5.698, allocations: 64.17 MB / 2.967 GB, free: 160.7 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 8.68e-05/5.698, allocations: 16 kB / 2.967 GB, free: 160.7 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001816/5.7, allocations: 1.237 MB / 2.968 GB, free: 159.4 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/5.7, allocations: 8.031 kB / 2.968 GB, free: 159.4 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/5.7, allocations: 138.3 kB / 2.968 GB, free: 159.3 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/5.703, allocations: 1.451 MB / 2.97 GB, free: 157.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/5.703, allocations: 62.59 kB / 2.97 GB, free: 157.7 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/5.703, allocations: 31.94 kB / 2.97 GB, free: 157.7 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005465/5.704, allocations: 317.9 kB / 2.97 GB, free: 157.4 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/5.704, allocations: 425 kB / 2.971 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/5.704, allocations: 4 kB / 2.971 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/5.704, allocations: 7.984 kB / 2.971 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/5.704, allocations: 12 kB / 2.971 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/5.707, allocations: 2.409 MB / 2.973 GB, free: 154.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/5.707, allocations: 235.2 kB / 2.973 GB, free: 154.1 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/5.708, allocations: 274.5 kB / 2.974 GB, free: 153.8 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/5.708, allocations: 8.328 kB / 2.974 GB, free: 153.8 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/5.708, allocations: 215.5 kB / 2.974 GB, free: 153.6 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/5.708, allocations: 0 / 2.974 GB, free: 153.6 MB / 0.7138 GB Notification: Performance of matching and sorting (n=44): time 0.0009781/5.709, allocations: 0.5484 MB / 2.974 GB, free: 153 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/5.709, allocations: 59.41 kB / 2.974 GB, free: 152.9 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/5.711, allocations: 1.463 MB / 2.976 GB, free: 151.5 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/5.711, allocations: 29.64 kB / 2.976 GB, free: 151.4 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/5.711, allocations: 305.9 kB / 2.976 GB, free: 151.1 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 8.664e-05/5.711, allocations: 138 kB / 2.976 GB, free: 151 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/5.711, allocations: 4 kB / 2.976 GB, free: 151 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/5.711, allocations: 333.9 kB / 2.977 GB, free: 150.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/5.712, allocations: 149.3 kB / 2.977 GB, free: 150.5 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/5.712, allocations: 270.9 kB / 2.977 GB, free: 150.2 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/5.712, allocations: 186.8 kB / 2.977 GB, free: 150 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/5.712, allocations: 4 kB / 2.977 GB, free: 150 MB / 0.7138 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009009/5.713, allocations: 0.6373 MB / 2.978 GB, free: 149.4 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/5.713, allocations: 8 kB / 2.978 GB, free: 149.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/5.713, allocations: 7.938 kB / 2.978 GB, free: 149.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/5.713, allocations: 133 kB / 2.978 GB, free: 149.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/5.714, allocations: 111.9 kB / 2.978 GB, free: 149.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/5.716, allocations: 2.201 MB / 2.98 GB, free: 146.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/5.717, allocations: 83.69 kB / 2.98 GB, free: 146.7 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/5.717, allocations: 20 kB / 2.98 GB, free: 146.7 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/5.717, allocations: 130.5 kB / 2.98 GB, free: 146.6 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/5.717, allocations: 110.6 kB / 2.98 GB, free: 146.4 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/5.718, allocations: 0.5912 MB / 2.981 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/5.718, allocations: 4 kB / 2.981 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/5.718, allocations: 4 kB / 2.981 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/5.718, allocations: 0 / 2.981 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/5.72, allocations: 1.549 MB / 2.983 GB, free: 144.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/5.72, allocations: 0 / 2.983 GB, free: 144.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/5.72, allocations: 55.97 kB / 2.983 GB, free: 144.2 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/5.721, allocations: 161.5 kB / 2.983 GB, free: 144 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/5.721, allocations: 11.98 kB / 2.983 GB, free: 144 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/5.724, allocations: 3.478 MB / 2.986 GB, free: 140.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/5.724, allocations: 0 / 2.986 GB, free: 140.3 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001098/5.725, allocations: 0.8463 MB / 2.987 GB, free: 139.4 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/5.725, allocations: 295.5 kB / 2.987 GB, free: 139.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/5.725, allocations: 4 kB / 2.987 GB, free: 139.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/5.726, allocations: 51.8 kB / 2.987 GB, free: 139.1 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/5.726, allocations: 39.92 kB / 2.987 GB, free: 139 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/5.726, allocations: 12 kB / 2.987 GB, free: 139 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001168/5.727, allocations: 1.155 MB / 2.989 GB, free: 137.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.0009348/5.728, allocations: 267.7 kB / 2.989 GB, free: 137.6 MB / 0.7138 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/5.729, allocations: 0.9538 MB / 2.99 GB, free: 136.7 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0008896/5.73, allocations: 0.5337 MB / 2.99 GB, free: 136.2 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/5.73, allocations: 4.125 kB / 2.99 GB, free: 136.2 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005007/5.731, allocations: 443 kB / 2.991 GB, free: 135.7 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/5.732, allocations: 162.3 kB / 2.991 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/5.735, allocations: 1.985 MB / 2.993 GB, free: 133.5 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/5.735, allocations: 1.227 MB / 2.994 GB, free: 132.3 MB / 0.7138 GB Notification: Performance of SimCode: time 3.11e-07/5.735, allocations: 11.88 kB / 2.994 GB, free: 132.3 MB / 0.7138 GB Notification: Performance of Templates: time 0.02184/5.757, allocations: 13.43 MB / 3.007 GB, free: 118.9 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)