Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003243/0.003243, allocations: 176.8 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7291/0.7291, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 395 MB, free: 10.13 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001075, allocations: 89.92 kB / 477.8 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.676e-06, allocations: 0 / 0.5528 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 82.3 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.919/5.145, allocations: 1.883 GB / 2.516 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/5.145, allocations: 87.95 kB / 2.516 GB, free: 84.56 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd: time 2.425/7.571, allocations: 0.6672 GB / 3.183 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.298e-05/7.571, allocations: 17.31 kB / 3.183 GB, free: 110.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004078/7.575, allocations: 1.377 MB / 3.185 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/7.575, allocations: 9.812 kB / 3.185 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/7.575, allocations: 151.4 kB / 3.185 GB, free: 110 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/7.577, allocations: 0.5677 MB / 3.185 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/7.577, allocations: 21.62 kB / 3.185 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/7.577, allocations: 46 kB / 3.185 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000976/7.578, allocations: 0.576 MB / 3.186 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/7.579, allocations: 0.713 MB / 3.187 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/7.579, allocations: 3.438 kB / 3.187 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.325e-05/7.579, allocations: 3.656 kB / 3.187 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/7.579, allocations: 41.17 kB / 3.187 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/7.583, allocations: 4.49 MB / 3.191 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/7.584, allocations: 417.7 kB / 3.191 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/7.585, allocations: 173.3 kB / 3.192 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/7.585, allocations: 0.756 MB / 3.192 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/7.585, allocations: 47.12 kB / 3.192 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 3.317e-06/7.585, allocations: 0 / 3.192 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.000905/7.586, allocations: 410.2 kB / 3.193 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/7.586, allocations: 62.11 kB / 3.193 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/7.587, allocations: 490.6 kB / 3.193 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/7.587, allocations: 25.7 kB / 3.193 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/7.587, allocations: 336.1 kB / 3.194 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/7.587, allocations: 130.5 kB / 3.194 GB, free: 105 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/7.587, allocations: 3.938 kB / 3.194 GB, free: 105 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001101/7.587, allocations: 373.4 kB / 3.194 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/7.587, allocations: 165.7 kB / 3.194 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/7.588, allocations: 309.3 kB / 3.195 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/7.588, allocations: 224.1 kB / 3.195 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/7.588, allocations: 0 / 3.195 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007922/7.589, allocations: 0.5284 MB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/7.589, allocations: 10.25 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/7.589, allocations: 5.688 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/7.589, allocations: 5.5 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/7.589, allocations: 103.9 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/7.589, allocations: 9.75 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007109/7.59, allocations: 77.97 kB / 3.195 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/7.59, allocations: 22.38 kB / 3.196 GB, free: 104.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/7.59, allocations: 120.5 kB / 3.196 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/7.59, allocations: 58.56 kB / 3.196 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/7.591, allocations: 496.4 kB / 3.196 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/7.591, allocations: 10.67 kB / 3.196 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/7.591, allocations: 0 / 3.196 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/7.591, allocations: 0 / 3.196 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/7.594, allocations: 1.938 MB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/7.594, allocations: 7.094 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/7.594, allocations: 92.42 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/7.595, allocations: 9.625 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/7.595, allocations: 14.22 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.627e-06/7.595, allocations: 11.56 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/7.595, allocations: 12.47 kB / 3.198 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/7.596, allocations: 1.282 MB / 3.199 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/7.596, allocations: 201 kB / 3.2 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/7.596, allocations: 7.812 kB / 3.2 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/7.597, allocations: 51.95 kB / 3.2 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/7.597, allocations: 52.77 kB / 3.2 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/7.597, allocations: 16.72 kB / 3.2 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003918/7.597, allocations: 393.2 kB / 3.2 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001338/7.599, allocations: 400.7 kB / 3.201 GB, free: 102.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002971/7.602, allocations: 2.315 MB / 3.203 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000676/7.602, allocations: 405.2 kB / 3.203 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/7.602, allocations: 0 / 3.203 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/7.603, allocations: 216.1 kB / 3.203 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/7.604, allocations: 224.5 kB / 3.204 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/7.606, allocations: 1.152 MB / 3.205 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/7.607, allocations: 1.091 MB / 3.206 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/7.607, allocations: 0 / 3.206 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.03455/7.641, allocations: 21.58 MB / 3.227 GB, free: 100 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)