Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.6766/0.6766, allocations: 141.8 MB / 149.1 MB, free: 13.16 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 179.1 kB / 181.9 MB, free: 9.848 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.262/1.262, allocations: 221.4 MB / 436 MB, free: 2.219 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.001006/0.001006, allocations: 92.58 kB / 0.507 GB, free: 11.02 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 281.5 kB / 0.5884 GB, free: 7.836 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/7.073e-06, allocations: 0 / 0.6759 GB, free: 14.21 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3861, allocations: 82.77 MB / 0.7567 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.188/3.574, allocations: 1.87 GB / 2.626 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/3.574, allocations: 84.42 kB / 2.627 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 0.8982/4.472, allocations: 359.8 MB / 2.978 GB, free: 63.36 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 4.2e-05/4.472, allocations: 11.98 kB / 2.978 GB, free: 63.35 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00147/4.474, allocations: 0.767 MB / 2.979 GB, free: 62.54 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/4.474, allocations: 9.031 kB / 2.979 GB, free: 62.53 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/4.475, allocations: 191.1 kB / 2.979 GB, free: 62.34 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/4.476, allocations: 404.1 kB / 2.979 GB, free: 61.91 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/4.476, allocations: 12 kB / 2.979 GB, free: 61.89 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/4.476, allocations: 16 kB / 2.979 GB, free: 61.88 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004081/4.477, allocations: 261.1 kB / 2.98 GB, free: 61.62 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/4.477, allocations: 343.1 kB / 2.98 GB, free: 61.26 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/4.477, allocations: 0 / 2.98 GB, free: 61.26 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/4.477, allocations: 8 kB / 2.98 GB, free: 61.25 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/4.477, allocations: 8 kB / 2.98 GB, free: 61.25 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/4.479, allocations: 1.63 MB / 2.981 GB, free: 59.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/4.479, allocations: 255.1 kB / 2.982 GB, free: 59.25 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/4.48, allocations: 125.2 kB / 2.982 GB, free: 59.12 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008302/4.48, allocations: 1.036 MB / 2.983 GB, free: 57.86 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/4.48, allocations: 38.5 kB / 2.983 GB, free: 57.82 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/4.48, allocations: 3.938 kB / 2.983 GB, free: 57.81 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.00107/4.482, allocations: 315.7 kB / 2.983 GB, free: 57.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/4.482, allocations: 51.41 kB / 2.983 GB, free: 57.44 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/4.482, allocations: 258.1 kB / 2.984 GB, free: 57.18 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/4.482, allocations: 25.7 kB / 2.984 GB, free: 57.14 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/4.482, allocations: 172.3 kB / 2.984 GB, free: 56.97 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/4.482, allocations: 86.66 kB / 2.984 GB, free: 56.89 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/4.482, allocations: 4 kB / 2.984 GB, free: 56.88 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/4.482, allocations: 334.8 kB / 2.984 GB, free: 56.55 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/4.482, allocations: 68.39 kB / 2.984 GB, free: 56.48 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/4.482, allocations: 112.4 kB / 2.984 GB, free: 56.35 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/4.483, allocations: 130.6 kB / 2.984 GB, free: 56.23 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/4.483, allocations: 0 / 2.984 GB, free: 56.23 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004861/4.483, allocations: 291.2 kB / 2.985 GB, free: 55.94 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/4.483, allocations: 8.031 kB / 2.985 GB, free: 55.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/4.483, allocations: 0 / 2.985 GB, free: 55.93 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/4.483, allocations: 4 kB / 2.985 GB, free: 55.93 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/4.483, allocations: 55.81 kB / 2.985 GB, free: 55.88 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/4.483, allocations: 4 kB / 2.985 GB, free: 55.87 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/4.484, allocations: 31.83 kB / 2.985 GB, free: 55.84 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/4.484, allocations: 12 kB / 2.985 GB, free: 55.83 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 7.396e-05/4.484, allocations: 104.9 kB / 2.985 GB, free: 55.72 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/4.484, allocations: 39.53 kB / 2.985 GB, free: 55.68 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/4.484, allocations: 296.6 kB / 2.985 GB, free: 55.38 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/4.484, allocations: 4 kB / 2.985 GB, free: 55.38 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/4.484, allocations: 0 / 2.985 GB, free: 55.38 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/4.484, allocations: 0 / 2.985 GB, free: 55.38 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/4.486, allocations: 0.7939 MB / 2.986 GB, free: 54.52 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/4.486, allocations: 4 kB / 2.986 GB, free: 54.51 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/4.486, allocations: 51.91 kB / 2.986 GB, free: 54.46 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/4.486, allocations: 7.938 kB / 2.986 GB, free: 54.45 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/4.486, allocations: 4 kB / 2.986 GB, free: 54.45 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/4.486, allocations: 12.22 kB / 2.986 GB, free: 54.44 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/4.486, allocations: 8 kB / 2.986 GB, free: 54.43 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006712/4.487, allocations: 0.6133 MB / 2.987 GB, free: 53.73 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/4.487, allocations: 128.6 kB / 2.987 GB, free: 53.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/4.487, allocations: 4 kB / 2.987 GB, free: 53.58 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/4.487, allocations: 23.97 kB / 2.987 GB, free: 53.55 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/4.487, allocations: 27.88 kB / 2.987 GB, free: 53.53 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/4.487, allocations: 8 kB / 2.987 GB, free: 53.52 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0001452/4.487, allocations: 204.5 kB / 2.987 GB, free: 53.32 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0006531/4.488, allocations: 207.7 kB / 2.987 GB, free: 53.12 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 25 * 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.001684/4.49, allocations: 1.374 MB / 2.989 GB, free: 51.72 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0002781/4.49, allocations: 164.1 kB / 2.989 GB, free: 51.56 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/4.49, allocations: 0 / 2.989 GB, free: 51.56 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/4.49, allocations: 99.86 kB / 2.989 GB, free: 51.46 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/4.491, allocations: 146.2 kB / 2.989 GB, free: 51.33 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/4.492, allocations: 0.6738 MB / 2.99 GB, free: 50.6 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/4.492, allocations: 0.8726 MB / 2.99 GB, free: 49.7 MB / 0.6982 GB Notification: Performance of SimCode: time 2.3e-07/4.492, allocations: 3.938 kB / 2.99 GB, free: 49.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.01851/4.511, allocations: 12.69 MB / 3.003 GB, free: 37.09 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)