Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8038/0.8038, allocations: 141.8 MB / 149.1 MB, free: 4.402 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.001478/0.001478, allocations: 185.8 kB / 181.9 MB, free: 76 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 436 MB, free: 9.215 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.001076/0.001076, allocations: 90.33 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 285.9 kB / 0.5884 GB, free: 12.23 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.727e-06/8.867e-06, allocations: 0 / 0.6759 GB, free: 2.617 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5258, allocations: 82.78 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.343/4.868, allocations: 2.154 GB / 2.911 GB, free: 173.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/4.869, allocations: 82.14 kB / 2.911 GB, free: 173.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.002/6.871, allocations: 0.6388 GB / 3.55 GB, free: 65.73 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0004417/6.871, allocations: 58.58 kB / 3.55 GB, free: 65.68 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007855/6.879, allocations: 2.653 MB / 3.553 GB, free: 62.96 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/6.879, allocations: 16.03 kB / 3.553 GB, free: 62.95 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/6.882, allocations: 463.7 kB / 3.553 GB, free: 62.49 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/6.89, allocations: 2.678 MB / 3.556 GB, free: 59.76 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/6.891, allocations: 100.2 kB / 3.556 GB, free: 59.65 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/6.891, allocations: 79.98 kB / 3.556 GB, free: 59.57 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002799/6.894, allocations: 1.063 MB / 3.557 GB, free: 58.51 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/6.897, allocations: 1.249 MB / 3.558 GB, free: 57.21 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.835e-05/6.897, allocations: 0 / 3.558 GB, free: 57.21 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/6.897, allocations: 0 / 3.558 GB, free: 57.21 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/6.897, allocations: 42.44 kB / 3.558 GB, free: 57.17 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/6.908, allocations: 6.331 MB / 3.564 GB, free: 50.45 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/6.91, allocations: 0.65 MB / 3.565 GB, free: 49.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008369/6.911, allocations: 0.5853 MB / 3.565 GB, free: 49.21 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/6.911, allocations: 300.3 kB / 3.566 GB, free: 48.86 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008553/6.912, allocations: 0.5703 MB / 3.566 GB, free: 48.28 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=113): time 4.639e-06/6.912, allocations: 0 / 3.566 GB, free: 48.28 MB / 0.6982 GB Notification: Performance of matching and sorting (n=113): time 0.003412/6.915, allocations: 1.388 MB / 3.568 GB, free: 46.88 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/6.915, allocations: 68.41 kB / 3.568 GB, free: 46.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/6.922, allocations: 3.369 MB / 3.571 GB, free: 43.41 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/6.923, allocations: 33.7 kB / 3.571 GB, free: 43.38 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/6.923, allocations: 0.6535 MB / 3.572 GB, free: 42.71 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/6.924, allocations: 358.8 kB / 3.572 GB, free: 42.36 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/6.924, allocations: 0 / 3.572 GB, free: 42.36 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000115/6.924, allocations: 357.9 kB / 3.572 GB, free: 42 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/6.925, allocations: 430.4 kB / 3.573 GB, free: 41.58 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/6.926, allocations: 0.6771 MB / 3.573 GB, free: 40.79 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/6.927, allocations: 0.5401 MB / 3.574 GB, free: 40.26 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/6.927, allocations: 4 kB / 3.574 GB, free: 40.25 MB / 0.6982 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003181/6.93, allocations: 1.588 MB / 3.576 GB, free: 38.65 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/6.93, allocations: 4 kB / 3.576 GB, free: 38.65 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/6.93, allocations: 4 kB / 3.576 GB, free: 38.64 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/6.931, allocations: 222.1 kB / 3.576 GB, free: 38.42 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/6.932, allocations: 251.6 kB / 3.576 GB, free: 38.18 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/6.935, allocations: 3.968 MB / 3.58 GB, free: 33.98 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/6.937, allocations: 171.1 kB / 3.58 GB, free: 33.81 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/6.938, allocations: 51.98 kB / 3.58 GB, free: 33.76 MB / 0.6982 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_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 (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.0003397/6.938, allocations: 152.6 kB / 3.58 GB, free: 33.61 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009222/6.939, allocations: 272.5 kB / 3.581 GB, free: 33.34 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/6.943, allocations: 1.501 MB / 3.582 GB, free: 31.82 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/6.943, allocations: 12 kB / 3.582 GB, free: 31.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/6.943, allocations: 4 kB / 3.582 GB, free: 31.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002021/6.945, allocations: 1.301 MB / 3.583 GB, free: 30.45 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008902/6.954, allocations: 3.823 MB / 3.587 GB, free: 26.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/6.954, allocations: 4 kB / 3.587 GB, free: 26.54 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/6.954, allocations: 187.9 kB / 3.587 GB, free: 26.36 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/6.955, allocations: 205.6 kB / 3.587 GB, free: 26.15 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/6.955, allocations: 19.89 kB / 3.587 GB, free: 26.13 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/6.959, allocations: 3.979 MB / 3.591 GB, free: 21.93 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/6.959, allocations: 0 / 3.591 GB, free: 21.93 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004109/6.963, allocations: 2.303 MB / 3.594 GB, free: 19.55 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/6.965, allocations: 0.63 MB / 3.594 GB, free: 18.89 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008262/6.966, allocations: 12 kB / 3.594 GB, free: 18.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/6.967, allocations: 91.81 kB / 3.594 GB, free: 18.79 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/6.968, allocations: 88.86 kB / 3.594 GB, free: 18.71 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/6.968, allocations: 43.97 kB / 3.594 GB, free: 18.66 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.004789/6.972, allocations: 2.638 MB / 3.597 GB, free: 16.03 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003434/6.976, allocations: 0.7134 MB / 3.598 GB, free: 15.31 MB / 0.6982 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_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 (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.003252/6.979, allocations: 1.799 MB / 3.599 GB, free: 13.58 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002516/6.982, allocations: 1.317 MB / 3.601 GB, free: 12.24 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/6.982, allocations: 8.125 kB / 3.601 GB, free: 12.23 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/6.983, allocations: 0.8075 MB / 3.601 GB, free: 11.41 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/6.987, allocations: 0.4938 MB / 3.602 GB, free: 10.93 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/6.998, allocations: 4.97 MB / 3.607 GB, free: 5.887 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003599/7.002, allocations: 2.114 MB / 3.609 GB, free: 3.75 MB / 0.6982 GB Notification: Performance of SimCode: time 1.663e-06/7.002, allocations: 0 / 3.609 GB, free: 3.75 MB / 0.6982 GB Notification: Performance of Templates: time 0.4808/7.483, allocations: 34.42 MB / 3.642 GB, free: 167.1 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)