Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") [: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.7095/0.7095, allocations: 141.8 MB / 149.1 MB, free: 4.199 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.001022/0.001022, allocations: 179.1 kB / 181.9 MB, free: 15.89 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.4 MB / 436 MB, free: 9.047 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.0009714/0.0009713, allocations: 98.28 kB / 0.507 GB, free: 24.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001818/0.001818, allocations: 275.4 kB / 0.5884 GB, free: 12.07 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 0 / 0.6759 GB, free: 2.449 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3832, allocations: 82.77 MB / 0.7567 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.603/3.987, allocations: 1.883 GB / 2.639 GB, free: 193.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/3.987, allocations: 83.95 kB / 2.639 GB, free: 193.8 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 1.243/5.229, allocations: 461.4 MB / 3.09 GB, free: 4.719 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 6.984e-05/5.229, allocations: 20 kB / 3.09 GB, free: 4.699 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.00453/5.234, allocations: 1.529 MB / 3.091 GB, free: 3.113 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/5.234, allocations: 13.28 kB / 3.091 GB, free: 3.102 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/5.235, allocations: 158.5 kB / 3.092 GB, free: 2.945 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/5.236, allocations: 0.6533 MB / 3.092 GB, free: 2.25 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/5.236, allocations: 28 kB / 3.092 GB, free: 2.223 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/5.237, allocations: 48 kB / 3.092 GB, free: 2.176 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002132/5.239, allocations: 1.324 MB / 3.094 GB, free: 0.8516 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2785/5.517, allocations: 1.054 MB / 3.095 GB, free: 184.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/5.517, allocations: 0 / 3.095 GB, free: 184.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/5.518, allocations: 3.438 kB / 3.095 GB, free: 184.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/5.518, allocations: 49.39 kB / 3.095 GB, free: 184.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/5.523, allocations: 3.234 MB / 3.098 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/5.525, allocations: 1.327 MB / 3.099 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008046/5.525, allocations: 0.7184 MB / 3.1 GB, free: 183.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/5.527, allocations: 1.542 MB / 3.101 GB, free: 181.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008761/5.527, allocations: 0.7016 MB / 3.102 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=127): time 3.857e-06/5.527, allocations: 0 / 3.102 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=127): time 0.002871/5.53, allocations: 1.432 MB / 3.103 GB, free: 181.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/5.53, allocations: 96.14 kB / 3.104 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/5.531, allocations: 0.4968 MB / 3.104 GB, free: 181.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/5.531, allocations: 25.7 kB / 3.104 GB, free: 181.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/5.531, allocations: 285.2 kB / 3.104 GB, free: 181.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/5.532, allocations: 405.8 kB / 3.105 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/5.532, allocations: 8.344 kB / 3.105 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001167/5.532, allocations: 397.6 kB / 3.105 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/5.533, allocations: 0.5123 MB / 3.106 GB, free: 180.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/5.533, allocations: 0.6743 MB / 3.106 GB, free: 180.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/5.535, allocations: 0.7511 MB / 3.107 GB, free: 180.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/5.535, allocations: 0 / 3.107 GB, free: 180.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00263/5.537, allocations: 1.521 MB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/5.538, allocations: 9.125 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/5.538, allocations: 3.844 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/5.538, allocations: 7.594 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/5.539, allocations: 230.8 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/5.539, allocations: 6.781 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/5.54, allocations: 93.8 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/5.54, allocations: 50.03 kB / 3.109 GB, free: 180.3 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0002408/5.54, allocations: 158.4 kB / 3.109 GB, free: 180.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/5.54, allocations: 89.5 kB / 3.109 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/5.543, allocations: 1.662 MB / 3.111 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/5.543, allocations: 12.59 kB / 3.111 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/5.543, allocations: 0 / 3.111 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/5.543, allocations: 7.688 kB / 3.111 GB, free: 180.1 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/5.549, allocations: 3.602 MB / 3.114 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/5.549, allocations: 10.06 kB / 3.114 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/5.55, allocations: 214.4 kB / 3.114 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.948e-05/5.55, allocations: 18.34 kB / 3.115 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/5.551, allocations: 22.09 kB / 3.115 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/5.551, allocations: 21.02 kB / 3.115 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/5.551, allocations: 11.28 kB / 3.115 GB, free: 179.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004508/5.555, allocations: 2.995 MB / 3.117 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008482/5.556, allocations: 330.3 kB / 3.118 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/5.556, allocations: 17.19 kB / 3.118 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/5.557, allocations: 40.56 kB / 3.118 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/5.557, allocations: 84.66 kB / 3.118 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/5.557, allocations: 55.7 kB / 3.118 GB, free: 178.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005342/5.558, allocations: 396.2 kB / 3.118 GB, free: 178.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00169/5.56, allocations: 465.7 kB / 3.119 GB, free: 178.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.00254/5.562, allocations: 1.803 MB / 3.121 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002105/5.564, allocations: 1.269 MB / 3.122 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/5.564, allocations: 0 / 3.122 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0009333/5.565, allocations: 0.7174 MB / 3.123 GB, free: 177.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/5.567, allocations: 224.2 kB / 3.123 GB, free: 177.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/5.57, allocations: 1.892 MB / 3.125 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/5.571, allocations: 1.236 MB / 3.126 GB, free: 176.4 MB / 0.6982 GB Notification: Performance of SimCode: time 7.82e-07/5.571, allocations: 0 / 3.126 GB, free: 176.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.03682/5.608, allocations: 23.99 MB / 3.149 GB, free: 176.1 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)