Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.6819/0.6819, allocations: 141.8 MB / 149.1 MB, free: 0.8594 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.001199/0.001199, allocations: 173.2 kB / 181.9 MB, free: 13.04 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.299/1.299, allocations: 221.3 MB / 436 MB, free: 5.805 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.0009798/0.0009798, allocations: 93.05 kB / 0.507 GB, free: 19.21 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00244/0.002441, allocations: 280.8 kB / 0.5884 GB, free: 6.961 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.556e-06, allocations: 4.844 kB / 0.6759 GB, free: 140 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 82.78 MB / 0.7567 GB, free: 89.05 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.272/3.461, allocations: 1.88 GB / 2.636 GB, free: 140 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/3.462, allocations: 87.95 kB / 2.636 GB, free: 139.9 MB / 0.6982 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.132/5.594, allocations: 0.6672 GB / 3.304 GB, free: 109.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 5.156e-05/5.594, allocations: 17.72 kB / 3.304 GB, free: 109.9 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003508/5.597, allocations: 1.382 MB / 3.305 GB, free: 109.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/5.597, allocations: 9.062 kB / 3.305 GB, free: 109.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/5.598, allocations: 150.1 kB / 3.305 GB, free: 109.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/5.599, allocations: 0.5577 MB / 3.306 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/5.599, allocations: 24 kB / 3.306 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.305e-05/5.599, allocations: 41.41 kB / 3.306 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008305/5.6, allocations: 0.5813 MB / 3.306 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/5.601, allocations: 0.7176 MB / 3.307 GB, free: 109.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/5.601, allocations: 5.875 kB / 3.307 GB, free: 109.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/5.601, allocations: 0 / 3.307 GB, free: 109.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-05/5.601, allocations: 43.12 kB / 3.307 GB, free: 109.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/5.605, allocations: 4.494 MB / 3.311 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/5.605, allocations: 420.1 kB / 3.312 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/5.606, allocations: 172.7 kB / 3.312 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/5.606, allocations: 0.7614 MB / 3.313 GB, free: 105 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/5.606, allocations: 38.31 kB / 3.313 GB, free: 105 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=40): time 2.665e-06/5.606, allocations: 0 / 3.313 GB, free: 105 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40): time 0.0008697/5.607, allocations: 416.1 kB / 3.313 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/5.607, allocations: 57.31 kB / 3.313 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/5.608, allocations: 494.6 kB / 3.314 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/5.608, allocations: 27.95 kB / 3.314 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/5.608, allocations: 337.9 kB / 3.314 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/5.608, allocations: 134.4 kB / 3.314 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/5.608, allocations: 0 / 3.314 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001164/5.608, allocations: 366.6 kB / 3.315 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/5.609, allocations: 169.8 kB / 3.315 GB, free: 104.2 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/5.609, allocations: 302.5 kB / 3.315 GB, free: 104 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/5.609, allocations: 213.8 kB / 3.315 GB, free: 104 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/5.609, allocations: 3.844 kB / 3.315 GB, free: 104 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007813/5.61, allocations: 0.5339 MB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/5.61, allocations: 7.812 kB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/5.61, allocations: 3.938 kB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/5.61, allocations: 3.875 kB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/5.611, allocations: 116.1 kB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/5.611, allocations: 10.31 kB / 3.316 GB, free: 104 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/5.611, allocations: 71.91 kB / 3.316 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/5.611, allocations: 21.78 kB / 3.316 GB, free: 103.9 MB / 0.6982 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.0001056/5.611, allocations: 117.6 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/5.612, allocations: 61.53 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/5.612, allocations: 496.2 kB / 3.317 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/5.612, allocations: 3.656 kB / 3.317 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/5.612, allocations: 0 / 3.317 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/5.612, allocations: 3.938 kB / 3.317 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/5.615, allocations: 1.941 MB / 3.318 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/5.615, allocations: 3.875 kB / 3.318 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/5.616, allocations: 93.44 kB / 3.319 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/5.616, allocations: 11.16 kB / 3.319 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/5.616, allocations: 15.28 kB / 3.319 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/5.616, allocations: 12.62 kB / 3.319 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/5.616, allocations: 10.72 kB / 3.319 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001012/5.617, allocations: 1.27 MB / 3.32 GB, free: 102.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/5.617, allocations: 196 kB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/5.617, allocations: 12.52 kB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/5.618, allocations: 49.14 kB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/5.618, allocations: 44.17 kB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/5.618, allocations: 27.09 kB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003501/5.618, allocations: 388.3 kB / 3.321 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00113/5.619, allocations: 411.4 kB / 3.321 GB, free: 101.9 MB / 0.6982 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.002293/5.622, allocations: 2.322 MB / 3.323 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.000532/5.622, allocations: 409.3 kB / 3.324 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/5.622, allocations: 3.438 kB / 3.324 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/5.622, allocations: 216 kB / 3.324 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/5.623, allocations: 212.8 kB / 3.324 GB, free: 101.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/5.625, allocations: 1.15 MB / 3.325 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/5.626, allocations: 1.094 MB / 3.326 GB, free: 100 MB / 0.6982 GB Notification: Performance of SimCode: time 2.4e-07/5.626, allocations: 0 / 3.326 GB, free: 100 MB / 0.6982 GB Notification: Performance of Templates: time 0.03005/5.656, allocations: 21.61 MB / 3.347 GB, free: 99.7 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)