Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [: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.8268/0.8268, allocations: 141.8 MB / 149.1 MB, free: 11.81 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 185.2 kB / 181.9 MB, free: 8.617 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.661/1.661, allocations: 221.4 MB / 436 MB, free: 0.8672 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.001157/0.001157, allocations: 98.12 kB / 0.507 GB, free: 17.68 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002138, allocations: 284.6 kB / 0.5884 GB, free: 2.578 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.892e-05, allocations: 1.344 kB / 0.6759 GB, free: 136.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 82.78 MB / 0.7567 GB, free: 81.21 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.771/5.048, allocations: 2.148 GB / 2.904 GB, free: 222 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003331/5.049, allocations: 91.88 kB / 2.904 GB, free: 222 MB / 0.7138 GB Notification: Performance of FrontEnd: time 0.1288/5.177, allocations: 64.15 MB / 2.967 GB, free: 160 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001259/5.178, allocations: 31.98 kB / 2.967 GB, free: 160 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.00247/5.18, allocations: 1.237 MB / 2.968 GB, free: 158.7 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/5.18, allocations: 8.031 kB / 2.968 GB, free: 158.7 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003912/5.181, allocations: 138.2 kB / 2.968 GB, free: 158.5 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/5.184, allocations: 1.455 MB / 2.97 GB, free: 157 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/5.184, allocations: 66.67 kB / 2.97 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/5.184, allocations: 32 kB / 2.97 GB, free: 156.9 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006036/5.185, allocations: 317.9 kB / 2.97 GB, free: 156.6 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/5.185, allocations: 421 kB / 2.971 GB, free: 156.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/5.185, allocations: 4 kB / 2.971 GB, free: 156.2 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/5.186, allocations: 0 / 2.971 GB, free: 156.2 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/5.186, allocations: 8 kB / 2.971 GB, free: 156.2 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/5.189, allocations: 2.42 MB / 2.973 GB, free: 153.6 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/5.189, allocations: 241.3 kB / 2.973 GB, free: 153.3 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/5.189, allocations: 265.4 kB / 2.974 GB, free: 153.1 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/5.19, allocations: 4.328 kB / 2.974 GB, free: 153 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/5.19, allocations: 223.5 kB / 2.974 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/5.19, allocations: 0 / 2.974 GB, free: 152.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=44): time 0.001094/5.191, allocations: 0.5327 MB / 2.974 GB, free: 152.3 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/5.191, allocations: 67.39 kB / 2.974 GB, free: 152.2 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/5.193, allocations: 1.467 MB / 2.976 GB, free: 150.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/5.193, allocations: 25.7 kB / 2.976 GB, free: 150.7 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/5.194, allocations: 305.9 kB / 2.976 GB, free: 150.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/5.194, allocations: 138 kB / 2.976 GB, free: 150.2 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/5.194, allocations: 0 / 2.976 GB, free: 150.2 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/5.194, allocations: 337.9 kB / 2.977 GB, free: 149.9 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/5.194, allocations: 149.3 kB / 2.977 GB, free: 149.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/5.194, allocations: 270.9 kB / 2.977 GB, free: 149.5 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/5.195, allocations: 183.8 kB / 2.977 GB, free: 149.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.195, allocations: 4 kB / 2.977 GB, free: 149.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001042/5.196, allocations: 0.6414 MB / 2.978 GB, free: 148.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/5.196, allocations: 11.94 kB / 2.978 GB, free: 148.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/5.196, allocations: 7.984 kB / 2.978 GB, free: 148.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/5.196, allocations: 120.8 kB / 2.978 GB, free: 148.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/5.196, allocations: 115.9 kB / 2.978 GB, free: 148.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/5.199, allocations: 2.206 MB / 2.98 GB, free: 146 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/5.199, allocations: 79.69 kB / 2.98 GB, free: 146 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/5.199, allocations: 20 kB / 2.98 GB, free: 145.9 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.0001325/5.2, allocations: 134.5 kB / 2.98 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/5.2, allocations: 110.6 kB / 2.98 GB, free: 145.7 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/5.201, allocations: 0.599 MB / 2.981 GB, free: 145.1 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/5.201, allocations: 4 kB / 2.981 GB, free: 145.1 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/5.201, allocations: 4 kB / 2.981 GB, free: 145.1 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/5.201, allocations: 3.984 kB / 2.981 GB, free: 145.1 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/5.203, allocations: 1.537 MB / 2.983 GB, free: 143.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/5.203, allocations: 0 / 2.983 GB, free: 143.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/5.203, allocations: 55.89 kB / 2.983 GB, free: 143.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/5.204, allocations: 160.7 kB / 2.983 GB, free: 143.3 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/5.204, allocations: 11.98 kB / 2.983 GB, free: 143.3 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/5.207, allocations: 3.468 MB / 2.986 GB, free: 139.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/5.207, allocations: 4 kB / 2.986 GB, free: 139.6 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001149/5.208, allocations: 0.8463 MB / 2.987 GB, free: 138.7 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/5.208, allocations: 295.5 kB / 2.987 GB, free: 138.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/5.208, allocations: 11.98 kB / 2.987 GB, free: 138.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/5.209, allocations: 47.81 kB / 2.987 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/5.209, allocations: 39.92 kB / 2.987 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/5.209, allocations: 15.98 kB / 2.987 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001262/5.21, allocations: 1.155 MB / 2.989 GB, free: 137.1 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001009/5.211, allocations: 275.6 kB / 2.989 GB, free: 136.8 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.001461/5.213, allocations: 0.9436 MB / 2.99 GB, free: 136 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001021/5.214, allocations: 0.5386 MB / 2.99 GB, free: 135.4 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/5.214, allocations: 0 / 2.99 GB, free: 135.4 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0005861/5.214, allocations: 451.7 kB / 2.991 GB, free: 135 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008938/5.215, allocations: 166.2 kB / 2.991 GB, free: 134.8 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/5.219, allocations: 1.978 MB / 2.993 GB, free: 132.8 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009242/5.22, allocations: 1.227 MB / 2.994 GB, free: 131.5 MB / 0.7138 GB Notification: Performance of SimCode: time 6.71e-07/5.22, allocations: 0 / 2.994 GB, free: 131.5 MB / 0.7138 GB Notification: Performance of Templates: time 0.02237/5.242, allocations: 13.45 MB / 3.007 GB, free: 118.2 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)