Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.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.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12") [: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.7896/0.7896, allocations: 141.8 MB / 149.1 MB, free: 3.445 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.001398/0.001398, allocations: 189.5 kB / 181.9 MB, free: 15.29 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.672/1.672, allocations: 221.3 MB / 436 MB, free: 8.48 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.001031/0.001031, allocations: 96.72 kB / 0.507 GB, free: 24.35 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 284.2 kB / 0.5884 GB, free: 11.52 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.626e-06, allocations: 0 / 0.6759 GB, free: 1.875 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6585, allocations: 82.76 MB / 0.7567 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.742, allocations: 2.151 GB / 2.908 GB, free: 204.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/5.742, allocations: 98.91 kB / 2.908 GB, free: 204.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.3679/6.11, allocations: 189.7 MB / 3.094 GB, free: 13.28 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0003766/6.111, allocations: 48 kB / 3.094 GB, free: 13.23 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005825/6.116, allocations: 2.314 MB / 3.096 GB, free: 10.86 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/6.117, allocations: 8.031 kB / 3.096 GB, free: 10.85 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/6.118, allocations: 300.2 kB / 3.096 GB, free: 10.55 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006474/6.125, allocations: 2.451 MB / 3.098 GB, free: 8.039 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/6.125, allocations: 83.69 kB / 3.099 GB, free: 7.953 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003007/6.125, allocations: 59.98 kB / 3.099 GB, free: 7.895 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/6.127, allocations: 0.7185 MB / 3.099 GB, free: 7.176 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/6.128, allocations: 0.8931 MB / 3.1 GB, free: 6.262 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/6.129, allocations: 3.906 kB / 3.1 GB, free: 6.258 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/6.129, allocations: 4 kB / 3.1 GB, free: 6.254 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/6.129, allocations: 23.94 kB / 3.1 GB, free: 6.23 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007427/6.136, allocations: 4.447 MB / 3.105 GB, free: 1.559 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/6.137, allocations: 0.4975 MB / 3.105 GB, free: 1.055 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/6.138, allocations: 459.6 kB / 3.106 GB, free: 0.6016 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2861/6.424, allocations: 0.5025 MB / 3.106 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/6.425, allocations: 451.4 kB / 3.106 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=94): time 3.727e-06/6.425, allocations: 0 / 3.106 GB, free: 212.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=94): time 0.002621/6.428, allocations: 1.123 MB / 3.108 GB, free: 212.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/6.428, allocations: 65.5 kB / 3.108 GB, free: 212.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006401/6.434, allocations: 3.303 MB / 3.111 GB, free: 212.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0003254/6.435, allocations: 35.23 kB / 3.111 GB, free: 212.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/6.435, allocations: 0.5516 MB / 3.111 GB, free: 212.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000373/6.435, allocations: 294.9 kB / 3.112 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/6.435, allocations: 0 / 3.112 GB, free: 211.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.436, allocations: 347.2 kB / 3.112 GB, free: 211.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/6.436, allocations: 313.1 kB / 3.112 GB, free: 211.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/6.437, allocations: 498.6 kB / 3.113 GB, free: 211.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/6.438, allocations: 387.1 kB / 3.113 GB, free: 211.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/6.438, allocations: 0 / 3.113 GB, free: 211.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003218/6.441, allocations: 1.277 MB / 3.114 GB, free: 211.2 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/6.441, allocations: 3.938 kB / 3.114 GB, free: 211.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/6.441, allocations: 7.812 kB / 3.114 GB, free: 211.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/6.442, allocations: 213.7 kB / 3.115 GB, free: 211.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/6.443, allocations: 208.4 kB / 3.115 GB, free: 211.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/6.446, allocations: 3.979 MB / 3.119 GB, free: 208.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/6.448, allocations: 134.2 kB / 3.119 GB, free: 208.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/6.448, allocations: 36.66 kB / 3.119 GB, free: 208.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002796/6.449, allocations: 149.2 kB / 3.119 GB, free: 208.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/6.449, allocations: 248.9 kB / 3.119 GB, free: 208.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/6.452, allocations: 1.303 MB / 3.121 GB, free: 208.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/6.452, allocations: 7.719 kB / 3.121 GB, free: 208.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/6.452, allocations: 11.31 kB / 3.121 GB, free: 208.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001602/6.454, allocations: 1.179 MB / 3.122 GB, free: 207.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/6.46, allocations: 3.31 MB / 3.125 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/6.46, allocations: 0 / 3.125 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/6.461, allocations: 130 kB / 3.125 GB, free: 207.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/6.461, allocations: 251.2 kB / 3.125 GB, free: 207.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/6.461, allocations: 17.42 kB / 3.125 GB, free: 207.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003822/6.465, allocations: 4.529 MB / 3.13 GB, free: 204.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/6.465, allocations: 3.812 kB / 3.13 GB, free: 204.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003393/6.469, allocations: 1.853 MB / 3.132 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/6.47, allocations: 0.5937 MB / 3.132 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/6.47, allocations: 12.09 kB / 3.132 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008059/6.471, allocations: 74.75 kB / 3.132 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/6.471, allocations: 73.8 kB / 3.132 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/6.471, allocations: 36.53 kB / 3.132 GB, free: 203.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.003593/6.475, allocations: 2.595 MB / 3.135 GB, free: 203.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002217/6.477, allocations: 0.5914 MB / 3.135 GB, free: 203.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/6.479, allocations: 1.167 MB / 3.137 GB, free: 203.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001795/6.481, allocations: 1.086 MB / 3.138 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/6.481, allocations: 3.938 kB / 3.138 GB, free: 203.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/6.482, allocations: 0.707 MB / 3.138 GB, free: 203 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/6.484, allocations: 436.2 kB / 3.139 GB, free: 202.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007749/6.492, allocations: 4.492 MB / 3.143 GB, free: 202.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/6.494, allocations: 1.95 MB / 3.145 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of SimCode: time 9.32e-07/6.494, allocations: 0.8438 kB / 3.145 GB, free: 201.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.04786/6.542, allocations: 27.45 MB / 3.172 GB, free: 200.5 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.pipe 2>&1)