Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") [: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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 0.6256 GB, free: 7.523 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000939/0.000939, allocations: 92.69 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.486e-06, allocations: 0 / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6813/0.6814, allocations: 116.3 MB / 0.9725 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.474, allocations: 2.355 GB / 3.327 GB, free: 185.8 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.474, allocations: 83.95 kB / 3.327 GB, free: 185.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.117/7.591, allocations: 0.6293 GB / 3.956 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002211/7.591, allocations: 64.88 kB / 3.957 GB, free: 214.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.005164/7.597, allocations: 2.646 MB / 3.959 GB, free: 213.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/7.597, allocations: 13.16 kB / 3.959 GB, free: 213.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/7.599, allocations: 471.8 kB / 3.96 GB, free: 212.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/7.605, allocations: 2.669 MB / 3.962 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/7.605, allocations: 107.5 kB / 3.962 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/7.606, allocations: 74.44 kB / 3.962 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001838/7.607, allocations: 1.065 MB / 3.963 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/7.609, allocations: 1.24 MB / 3.965 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/7.609, allocations: 3.844 kB / 3.965 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/7.609, allocations: 6.844 kB / 3.965 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/7.609, allocations: 43.33 kB / 3.965 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007919/7.617, allocations: 6.315 MB / 3.971 GB, free: 209.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/7.618, allocations: 0.6487 MB / 3.971 GB, free: 209.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/7.619, allocations: 0.5917 MB / 3.972 GB, free: 209.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/7.62, allocations: 296.8 kB / 3.972 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007778/7.62, allocations: 0.5778 MB / 3.973 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 4.078e-06/7.62, allocations: 0 / 3.973 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=113): time 0.002962/7.623, allocations: 1.393 MB / 3.974 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/7.623, allocations: 67.22 kB / 3.974 GB, free: 209.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005041/7.628, allocations: 3.361 MB / 3.978 GB, free: 208.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/7.629, allocations: 43.38 kB / 3.978 GB, free: 208.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/7.629, allocations: 0.6484 MB / 3.978 GB, free: 208.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/7.629, allocations: 360.8 kB / 3.979 GB, free: 208.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/7.629, allocations: 0 / 3.979 GB, free: 208.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/7.63, allocations: 353.1 kB / 3.979 GB, free: 208 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/7.63, allocations: 422 kB / 3.979 GB, free: 208 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/7.631, allocations: 0.6705 MB / 3.98 GB, free: 207.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/7.632, allocations: 0.5515 MB / 3.981 GB, free: 207.7 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/7.632, allocations: 0 / 3.981 GB, free: 207.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002672/7.635, allocations: 1.58 MB / 3.982 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/7.635, allocations: 4.062 kB / 3.982 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/7.635, allocations: 6.5 kB / 3.982 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/7.635, allocations: 226.3 kB / 3.982 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/7.636, allocations: 250.5 kB / 3.983 GB, free: 207.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/7.639, allocations: 3.972 MB / 3.986 GB, free: 204.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/7.641, allocations: 174.6 kB / 3.987 GB, free: 204.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/7.641, allocations: 58.72 kB / 3.987 GB, free: 204.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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,mean.y,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 (137): * Single equations (assignments): 135 * 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.0002961/7.642, allocations: 154.4 kB / 3.987 GB, free: 204.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/7.642, allocations: 277.8 kB / 3.987 GB, free: 204.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/7.645, allocations: 1.506 MB / 3.989 GB, free: 204.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/7.645, allocations: 13.66 kB / 3.989 GB, free: 204.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/7.645, allocations: 3.312 kB / 3.989 GB, free: 204.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001953/7.647, allocations: 1.293 MB / 3.99 GB, free: 204.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007301/7.654, allocations: 3.822 MB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.654, allocations: 3.906 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008164/7.655, allocations: 180.8 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/7.656, allocations: 209.4 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/7.656, allocations: 21.12 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/7.659, allocations: 3.962 MB / 3.998 GB, free: 201.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/7.659, allocations: 10.44 kB / 3.998 GB, free: 201.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003304/7.662, allocations: 2.311 MB / 4 GB, free: 200.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/7.664, allocations: 0.6201 MB / 4.001 GB, free: 200.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/7.664, allocations: 16.8 kB / 4.001 GB, free: 200.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/7.665, allocations: 98.22 kB / 4.001 GB, free: 200.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/7.665, allocations: 89.55 kB / 4.001 GB, free: 200.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/7.665, allocations: 45.94 kB / 4.001 GB, free: 200.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.004337/7.67, allocations: 2.633 MB / 4.003 GB, free: 200.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002699/7.672, allocations: 0.7004 MB / 4.004 GB, free: 200.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],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) * 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 (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 Backend phase and start with SimCode phase: time 0.00245/7.675, allocations: 1.802 MB / 4.006 GB, free: 199.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002164/7.677, allocations: 1.321 MB / 4.007 GB, free: 199.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/7.677, allocations: 1.438 kB / 4.007 GB, free: 199.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/7.678, allocations: 0.8102 MB / 4.008 GB, free: 199.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/7.681, allocations: 0.5036 MB / 4.008 GB, free: 199.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008244/7.689, allocations: 4.969 MB / 4.013 GB, free: 198.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/7.691, allocations: 2.105 MB / 4.015 GB, free: 197.6 MB / 0.9636 GB Notification: Performance of SimCode: time 8.11e-07/7.691, allocations: 0 / 4.015 GB, free: 197.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.05362/7.745, allocations: 34.39 MB / 4.049 GB, free: 195.7 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)