Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") [: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.7215/0.7215, allocations: 141.8 MB / 149.1 MB, free: 4.023 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.001095/0.001095, allocations: 185.8 kB / 181.9 MB, free: 15.74 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.293/1.293, allocations: 221.3 MB / 436 MB, free: 8.879 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.00106/0.00106, allocations: 95.86 kB / 0.507 GB, free: 24.19 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 281.4 kB / 0.5884 GB, free: 11.89 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 0 / 0.6759 GB, free: 2.277 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3683, allocations: 82.76 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.362/3.73, allocations: 1.894 GB / 2.65 GB, free: 180.5 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/3.73, allocations: 79.95 kB / 2.65 GB, free: 180.4 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.712/9.442, allocations: 1.753 GB / 4.403 GB, free: 39.32 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0003179/9.443, allocations: 75.92 kB / 4.403 GB, free: 39.25 MB / 0.745 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01346/9.456, allocations: 3.577 MB / 4.407 GB, free: 35.61 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/9.456, allocations: 12.03 kB / 4.407 GB, free: 35.6 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007661/9.464, allocations: 0.9677 MB / 4.408 GB, free: 34.63 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/9.469, allocations: 1.933 MB / 4.41 GB, free: 32.64 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/9.469, allocations: 87.91 kB / 4.41 GB, free: 32.56 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008789/9.47, allocations: 156 kB / 4.41 GB, free: 32.41 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00623/9.476, allocations: 3.091 MB / 4.413 GB, free: 29.31 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006455/9.483, allocations: 2.95 MB / 4.416 GB, free: 26.25 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/9.483, allocations: 7.906 kB / 4.416 GB, free: 26.24 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000526/9.484, allocations: 11.17 kB / 4.416 GB, free: 26.23 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/9.484, allocations: 121.1 kB / 4.416 GB, free: 26.11 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/9.502, allocations: 12.79 MB / 4.428 GB, free: 12.52 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/9.506, allocations: 2.682 MB / 4.431 GB, free: 9.832 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/9.509, allocations: 1.848 MB / 4.433 GB, free: 7.977 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/9.51, allocations: 1.497 MB / 4.434 GB, free: 6.164 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/9.51, allocations: 64.75 kB / 4.434 GB, free: 6.09 MB / 0.745 GB Notification: Performance of pre-optimization done (n=278): time 4.178e-06/9.51, allocations: 3.188 kB / 4.434 GB, free: 6.09 MB / 0.745 GB Notification: Performance of matching and sorting (n=278): time 0.007441/9.518, allocations: 3.179 MB / 4.437 GB, free: 2.859 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/9.518, allocations: 81.88 kB / 4.438 GB, free: 2.766 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/9.519, allocations: 1.018 MB / 4.439 GB, free: 1.742 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0002274/9.52, allocations: 29.64 kB / 4.439 GB, free: 1.707 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/9.52, allocations: 0.7102 MB / 4.439 GB, free: 0.9844 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.000763/9.521, allocations: 0.9041 MB / 4.44 GB, free: 68 kB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/9.521, allocations: 0 / 4.44 GB, free: 68 kB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0002172/9.521, allocations: 403 kB / 4.441 GB, free: 15.66 MB / 0.7607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/9.523, allocations: 1.141 MB / 4.442 GB, free: 14.52 MB / 0.7607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/9.525, allocations: 1.454 MB / 4.443 GB, free: 12.96 MB / 0.7607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003509/9.529, allocations: 1.555 MB / 4.445 GB, free: 11.39 MB / 0.7607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/9.529, allocations: 4 kB / 4.445 GB, free: 11.38 MB / 0.7607 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006547/9.535, allocations: 3.215 MB / 4.448 GB, free: 8.125 MB / 0.7607 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/9.535, allocations: 4 kB / 4.448 GB, free: 8.121 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/9.535, allocations: 4 kB / 4.448 GB, free: 8.117 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/9.535, allocations: 19.91 kB / 4.448 GB, free: 8.098 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/9.538, allocations: 0.527 MB / 4.448 GB, free: 7.57 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.237e-05/9.538, allocations: 23.98 kB / 4.448 GB, free: 7.547 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/9.541, allocations: 289.7 kB / 4.449 GB, free: 7.262 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/9.542, allocations: 87.97 kB / 4.449 GB, free: 7.176 MB / 0.7607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0004606/9.542, allocations: 140.5 kB / 4.449 GB, free: 7.031 MB / 0.7607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/9.543, allocations: 217.4 kB / 4.449 GB, free: 6.816 MB / 0.7607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00709/9.55, allocations: 3.341 MB / 4.452 GB, free: 3.422 MB / 0.7607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/9.55, allocations: 24 kB / 4.452 GB, free: 3.398 MB / 0.7607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/9.55, allocations: 4 kB / 4.452 GB, free: 3.395 MB / 0.7607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005083/9.555, allocations: 2.852 MB / 4.455 GB, free: 488 kB / 0.7607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3472/9.902, allocations: 6.287 MB / 4.461 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/9.903, allocations: 0 / 4.461 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002809/9.905, allocations: 0.5781 MB / 4.462 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/9.905, allocations: 9.312 kB / 4.462 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/9.906, allocations: 37.7 kB / 4.462 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/9.906, allocations: 12.92 kB / 4.462 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/9.906, allocations: 0 / 4.462 GB, free: 115 MB / 0.7607 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007351/9.913, allocations: 5.127 MB / 4.467 GB, free: 114.7 MB / 0.7607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/9.915, allocations: 0.6241 MB / 4.467 GB, free: 114.6 MB / 0.7607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000505/9.915, allocations: 5.781 kB / 4.467 GB, free: 114.6 MB / 0.7607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/9.918, allocations: 184.6 kB / 4.468 GB, free: 114.6 MB / 0.7607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/9.918, allocations: 136 kB / 4.468 GB, free: 114.6 MB / 0.7607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/9.918, allocations: 92.23 kB / 4.468 GB, free: 114.6 MB / 0.7607 GB Notification: Performance of sort global known variables: time 0.00108/9.919, allocations: 0.7699 MB / 4.469 GB, free: 114.5 MB / 0.7607 GB Notification: Performance of remove unused functions: time 0.003217/9.923, allocations: 1.192 MB / 4.47 GB, free: 114.5 MB / 0.7607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.006163/9.929, allocations: 4.711 MB / 4.474 GB, free: 112.6 MB / 0.7607 GB Notification: Performance of simCode: created initialization part: time 0.006119/9.935, allocations: 2.859 MB / 4.477 GB, free: 112.6 MB / 0.7607 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/9.935, allocations: 0 / 4.477 GB, free: 112.6 MB / 0.7607 GB Notification: Performance of simCode: created simulation system equations: time 0.002146/9.937, allocations: 1.534 MB / 4.479 GB, free: 112.6 MB / 0.7607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/9.943, allocations: 1.071 MB / 4.48 GB, free: 112.6 MB / 0.7607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/9.954, allocations: 5.238 MB / 4.485 GB, free: 111.6 MB / 0.7607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002756/9.957, allocations: 2.222 MB / 4.487 GB, free: 110.9 MB / 0.7607 GB Notification: Performance of SimCode: time 1.163e-06/9.957, allocations: 1.5 kB / 4.487 GB, free: 110.9 MB / 0.7607 GB Notification: Performance of Templates: time 0.1062/10.06, allocations: 70.93 MB / 4.556 GB, free: 108 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)