Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice") [: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.517/0.517, allocations: 94.74 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.00122/0.00122, allocations: 171.9 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.473/1.473, allocations: 170.5 MB / 319 MB, free: 9.355 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.001907/0.001907, allocations: 106.9 kB / 381 MB, free: 18.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.17e-05/1.174e-05, allocations: 4 kB / 448.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1665, allocations: 61.51 MB / 0.4981 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.15/10.32, allocations: 5.248 GB / 5.746 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/10.32, allocations: 79.95 kB / 5.746 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9943/11.31, allocations: 339.3 MB / 6.077 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.104e-05/11.31, allocations: 14.62 kB / 6.077 GB, free: 100.1 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001713/11.31, allocations: 0.9191 MB / 6.078 GB, free: 99.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/11.31, allocations: 8.281 kB / 6.078 GB, free: 99.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/11.31, allocations: 77.38 kB / 6.078 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008467/11.31, allocations: 0.4902 MB / 6.079 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/11.31, allocations: 15.5 kB / 6.079 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/11.31, allocations: 26.47 kB / 6.079 GB, free: 99.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007247/11.31, allocations: 474.3 kB / 6.079 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/11.32, allocations: 0.4949 MB / 6.08 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/11.32, allocations: 0 / 6.08 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/11.32, allocations: 3.5 kB / 6.08 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/11.32, allocations: 13.53 kB / 6.08 GB, free: 98.69 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/11.32, allocations: 1.783 MB / 6.082 GB, free: 97.35 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/11.32, allocations: 281.2 kB / 6.082 GB, free: 97.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/11.32, allocations: 124.2 kB / 6.082 GB, free: 97.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/11.32, allocations: 0.7952 MB / 6.083 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/11.32, allocations: 37.56 kB / 6.083 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/11.32, allocations: 0 / 6.083 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001381/11.32, allocations: 472.1 kB / 6.083 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/11.32, allocations: 59.47 kB / 6.083 GB, free: 95.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/11.32, allocations: 380.8 kB / 6.084 GB, free: 95.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/11.32, allocations: 26.61 kB / 6.084 GB, free: 95.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/11.32, allocations: 239.5 kB / 6.084 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/11.32, allocations: 117.1 kB / 6.084 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/11.32, allocations: 0 / 6.084 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/11.32, allocations: 357.5 kB / 6.084 GB, free: 95.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/11.32, allocations: 129.7 kB / 6.084 GB, free: 94.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/11.32, allocations: 190.3 kB / 6.085 GB, free: 94.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/11.32, allocations: 317.1 kB / 6.085 GB, free: 94.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/11.32, allocations: 4 kB / 6.085 GB, free: 94.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001299/11.33, allocations: 0.5773 MB / 6.085 GB, free: 93.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/11.33, allocations: 4 kB / 6.085 GB, free: 93.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/11.33, allocations: 0 / 6.085 GB, free: 93.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/11.33, allocations: 4 kB / 6.085 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/11.33, allocations: 97.94 kB / 6.086 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/11.33, allocations: 3.984 kB / 6.086 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/11.33, allocations: 47.61 kB / 6.086 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/11.33, allocations: 27.92 kB / 6.086 GB, free: 93.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001132/11.33, allocations: 112.8 kB / 6.086 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/11.33, allocations: 47.44 kB / 6.086 GB, free: 93.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/11.33, allocations: 0.7019 MB / 6.087 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/11.33, allocations: 11.98 kB / 6.087 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/11.33, allocations: 0 / 6.087 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/11.33, allocations: 7.062 kB / 6.087 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/11.33, allocations: 1.225 MB / 6.088 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/11.33, allocations: 4.031 kB / 6.088 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/11.33, allocations: 71.91 kB / 6.088 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/11.33, allocations: 4 kB / 6.088 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/11.33, allocations: 11.89 kB / 6.088 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.237e-06/11.33, allocations: 4 kB / 6.088 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/11.33, allocations: 4 kB / 6.088 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001449/11.33, allocations: 1.011 MB / 6.089 GB, free: 90.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/11.33, allocations: 211.3 kB / 6.089 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/11.33, allocations: 0 / 6.089 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/11.33, allocations: 31.97 kB / 6.089 GB, free: 90.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/11.33, allocations: 19.97 kB / 6.089 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/11.33, allocations: 27.98 kB / 6.089 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003153/11.33, allocations: 342.9 kB / 6.089 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001212/11.33, allocations: 427.2 kB / 6.09 GB, free: 89.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002082/11.34, allocations: 1.346 MB / 6.091 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005168/11.34, allocations: 365.1 kB / 6.091 GB, free: 87.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/11.34, allocations: 8.312 kB / 6.091 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/11.34, allocations: 219.8 kB / 6.092 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/11.34, allocations: 215.7 kB / 6.092 GB, free: 87.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/11.34, allocations: 0.9641 MB / 6.093 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/11.34, allocations: 0.9811 MB / 6.094 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/11.34, allocations: 0 / 6.094 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.02545/11.37, allocations: 18.03 MB / 6.111 GB, free: 67.4 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)