Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Validation3Rooms,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms") translateModel(Buildings.Airflow.Multizone.Examples.Validation3Rooms,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4817/0.4817, allocations: 94.73 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.5 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.341/1.341, allocations: 170.5 MB / 319 MB, free: 9.352 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 104.7 kB / 381 MB, free: 18.2 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.902e-06/6.943e-06, allocations: 0 / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1583, allocations: 61.52 MB / 0.4981 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.441, allocations: 408.1 MB / 0.8967 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.441, allocations: 88.12 kB / 0.8967 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.525/3.966, allocations: 0.6688 GB / 1.566 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002936/3.966, allocations: 54.02 kB / 1.566 GB, free: 43.32 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01019/3.976, allocations: 2.415 MB / 1.568 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/3.977, allocations: 7.906 kB / 1.568 GB, free: 42.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/3.979, allocations: 254.4 kB / 1.568 GB, free: 42.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005755/3.984, allocations: 1.646 MB / 1.57 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/3.985, allocations: 56.84 kB / 1.57 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007173/3.985, allocations: 110.1 kB / 1.57 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003417/3.989, allocations: 1.876 MB / 1.572 GB, free: 41.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/3.992, allocations: 1.783 MB / 1.574 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/3.992, allocations: 5.125 kB / 1.574 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/3.992, allocations: 7.125 kB / 1.574 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/3.992, allocations: 41.16 kB / 1.574 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/4.003, allocations: 7.534 MB / 1.581 GB, free: 38.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/4.004, allocations: 0.9671 MB / 1.582 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/4.006, allocations: 1.081 MB / 1.583 GB, free: 38.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/4.008, allocations: 3.109 MB / 1.586 GB, free: 34.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/4.008, allocations: 62.2 kB / 1.586 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=202): time 4.759e-06/4.008, allocations: 0 / 1.586 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220): time 0.01452/4.023, allocations: 5.02 MB / 1.591 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/4.023, allocations: 99.92 kB / 1.591 GB, free: 33.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/4.024, allocations: 0.7977 MB / 1.592 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/4.024, allocations: 27.7 kB / 1.592 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/4.025, allocations: 0.5101 MB / 1.592 GB, free: 33.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005616/4.025, allocations: 0.7129 MB / 1.593 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.933e-05/4.025, allocations: 0 / 1.593 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000139/4.025, allocations: 383.6 kB / 1.593 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/4.026, allocations: 0.7164 MB / 1.594 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/4.028, allocations: 0.998 MB / 1.595 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/4.03, allocations: 1.021 MB / 1.596 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/4.03, allocations: 3.125 kB / 1.596 GB, free: 32.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.004639/4.035, allocations: 2.175 MB / 1.598 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/4.035, allocations: 6.938 kB / 1.598 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/4.035, allocations: 7.625 kB / 1.598 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/4.035, allocations: 14.81 kB / 1.598 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002506/4.038, allocations: 0.5195 MB / 1.599 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/4.038, allocations: 18.44 kB / 1.599 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/4.04, allocations: 129.8 kB / 1.599 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/4.04, allocations: 82.34 kB / 1.599 GB, free: 32.09 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: volTop.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volWes.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real volEas.dynBal.medium.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 248 * 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.0006018/4.041, allocations: 293.7 kB / 1.599 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/4.041, allocations: 175.3 kB / 1.599 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005989/4.047, allocations: 2.791 MB / 1.602 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/4.047, allocations: 26.84 kB / 1.602 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/4.047, allocations: 0 / 1.602 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.774e-05/4.047, allocations: 14.72 kB / 1.602 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00942/4.057, allocations: 4.499 MB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/4.057, allocations: 2.438 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/4.059, allocations: 497.9 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.57e-05/4.059, allocations: 11.75 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/4.059, allocations: 34.2 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/4.059, allocations: 14.91 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/4.059, allocations: 6.375 kB / 1.607 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006297/4.066, allocations: 3.803 MB / 1.611 GB, free: 30.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/4.067, allocations: 480.5 kB / 1.611 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/4.068, allocations: 10 kB / 1.611 GB, free: 30.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/4.07, allocations: 105.7 kB / 1.611 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/4.07, allocations: 128.2 kB / 1.612 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/4.07, allocations: 83.39 kB / 1.612 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001203/4.071, allocations: 0.6284 MB / 1.612 GB, free: 30.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003584/4.075, allocations: 0.7874 MB / 1.613 GB, free: 30.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 9 (volEas.dynBal.medium.p,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.medium.p,oriEasTop.mExc,volTop.dynBal.medium.p) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002825/4.078, allocations: 1.104 MB / 1.614 GB, free: 30 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004318/4.082, allocations: 1.974 MB / 1.616 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/4.082, allocations: 1.438 kB / 1.616 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/4.085, allocations: 1.108 MB / 1.617 GB, free: 29.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005201/4.09, allocations: 0.7162 MB / 1.618 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/4.102, allocations: 3.565 MB / 1.621 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003535/4.105, allocations: 1.754 MB / 1.623 GB, free: 44.43 MB / 0.5417 GB Notification: Performance of SimCode: time 2.054e-06/4.105, allocations: 0 / 1.623 GB, free: 44.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.08486/4.19, allocations: 42.03 MB / 1.664 GB, free: 41.45 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Validation3Rooms.pipe 2>&1)