Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic") [: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.7239/0.7239, allocations: 141.8 MB / 149.1 MB, free: 3.457 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.0009748/0.0009748, allocations: 180.8 kB / 181.9 MB, free: 15.28 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.255/1.255, allocations: 221.3 MB / 436 MB, free: 8.395 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.0009796/0.0009797, allocations: 104.3 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 269.2 kB / 0.5884 GB, free: 11.51 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.573e-06, allocations: 0 / 0.6759 GB, free: 1.883 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4296, allocations: 82.77 MB / 0.7567 GB, free: 112.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.5516, allocations: 109.6 MB / 0.8638 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5519, allocations: 73.47 kB / 0.8638 GB, free: 2.297 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.008194/0.5601, allocations: 2.825 MB / 0.8666 GB, free: 15.51 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.5602, allocations: 6.156 kB / 0.8666 GB, free: 15.5 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007112/0.5609, allocations: 435 kB / 0.867 GB, free: 15.04 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/0.561, allocations: 12.03 kB / 0.867 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.5611, allocations: 15.81 kB / 0.867 GB, free: 15.01 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.5613, allocations: 178.9 kB / 0.8672 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5614, allocations: 63.39 kB / 0.8673 GB, free: 14.72 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.5615, allocations: 4 kB / 0.8673 GB, free: 14.72 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002618/0.5617, allocations: 95.98 kB / 0.8674 GB, free: 14.62 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.562, allocations: 93.66 kB / 0.8674 GB, free: 14.53 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.562, allocations: 7.891 kB / 0.8675 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.562, allocations: 4 kB / 0.8675 GB, free: 14.52 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.562, allocations: 4 kB / 0.8675 GB, free: 14.51 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.5629, allocations: 412.9 kB / 0.8679 GB, free: 14.07 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.563, allocations: 58.52 kB / 0.8679 GB, free: 14 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.5631, allocations: 40.86 kB / 0.868 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.5637, allocations: 323.2 kB / 0.8683 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.5637, allocations: 34.47 kB / 0.8683 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.5637, allocations: 0 / 0.8683 GB, free: 13.55 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9): time 0.000849/0.5646, allocations: 191 kB / 0.8685 GB, free: 13.35 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5647, allocations: 55.41 kB / 0.8685 GB, free: 13.29 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.5648, allocations: 128 kB / 0.8686 GB, free: 13.15 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.5648, allocations: 29.64 kB / 0.8687 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.5649, allocations: 124.5 kB / 0.8688 GB, free: 12.99 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.565, allocations: 23.56 kB / 0.8688 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.565, allocations: 0 / 0.8688 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5651, allocations: 318.8 kB / 0.8691 GB, free: 12.64 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.5652, allocations: 40 kB / 0.8692 GB, free: 12.61 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.5653, allocations: 31.98 kB / 0.8692 GB, free: 12.57 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.5655, allocations: 64.69 kB / 0.8693 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5656, allocations: 4 kB / 0.8693 GB, free: 12.51 MB / 0.5419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006558/0.5662, allocations: 218.2 kB / 0.8695 GB, free: 12.29 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.5663, allocations: 4 kB / 0.8695 GB, free: 12.28 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5663, allocations: 0 / 0.8695 GB, free: 12.28 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.5669, allocations: 72.8 kB / 0.8695 GB, free: 12.21 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.567, allocations: 23.98 kB / 0.8696 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5691, allocations: 1.49 MB / 0.871 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.5692, allocations: 16.5 kB / 0.871 GB, free: 10.57 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5692, allocations: 4 kB / 0.871 GB, free: 10.56 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.5693, allocations: 113 kB / 0.8711 GB, free: 10.45 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.5694, allocations: 7.906 kB / 0.8712 GB, free: 10.44 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.5701, allocations: 210.7 kB / 0.8714 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5701, allocations: 0 / 0.8714 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5701, allocations: 3.906 kB / 0.8714 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5701, allocations: 0 / 0.8714 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000834/0.5709, allocations: 460.5 kB / 0.8718 GB, free: 9.723 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5709, allocations: 3.938 kB / 0.8718 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.571, allocations: 24.02 kB / 0.8718 GB, free: 9.695 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003654/0.5714, allocations: 64.8 kB / 0.8719 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5714, allocations: 4 kB / 0.8719 GB, free: 9.625 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.573, allocations: 1.492 MB / 0.8733 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.573, allocations: 0 / 0.8733 GB, free: 8.02 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006267/0.5737, allocations: 309 kB / 0.8736 GB, free: 7.691 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.5737, allocations: 89 kB / 0.8737 GB, free: 7.586 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5737, allocations: 3.938 kB / 0.8737 GB, free: 7.582 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.5739, allocations: 15.98 kB / 0.8737 GB, free: 7.566 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.574, allocations: 8 kB / 0.8738 GB, free: 7.559 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.574, allocations: 7.984 kB / 0.8738 GB, free: 7.551 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.03e-05/0.574, allocations: 99.22 kB / 0.8739 GB, free: 7.453 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0004053/0.5745, allocations: 63.77 kB / 0.8739 GB, free: 7.391 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002139/0.5747, allocations: 143.2 kB / 0.8741 GB, free: 7.242 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.5751, allocations: 204.9 kB / 0.8742 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5752, allocations: 0 / 0.8742 GB, free: 7.035 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.5755, allocations: 153.8 kB / 0.8744 GB, free: 6.875 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.5757, allocations: 8 kB / 0.8744 GB, free: 6.867 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.5761, allocations: 148.7 kB / 0.8745 GB, free: 6.695 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5764, allocations: 0.7224 MB / 0.8752 GB, free: 5.949 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.5764, allocations: 0 / 0.8752 GB, free: 5.949 MB / 0.5419 GB Notification: Performance of Templates: time 0.005057/0.5815, allocations: 2.211 MB / 0.8774 GB, free: 3.797 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)