Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.151/2.151, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 177.3 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 93.09 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.654e-06, allocations: 0 / 0.8502 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5498/0.5498, allocations: 115.2 MB / 0.9628 GB, free: 78.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.488/5.038, allocations: 2.064 GB / 3.027 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.039, allocations: 85.19 kB / 3.027 GB, free: 273 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.466/6.504, allocations: 354.4 MB / 3.373 GB, free: 244.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.981e-05/6.505, allocations: 11.02 kB / 3.373 GB, free: 244.2 MB / 0.948 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.001535/6.506, allocations: 0.7664 MB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/6.506, allocations: 12.06 kB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/6.508, allocations: 186.8 kB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/6.509, allocations: 406.3 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/6.509, allocations: 14.84 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/6.509, allocations: 26.69 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006939/6.51, allocations: 261.3 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/6.511, allocations: 338.2 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/6.511, allocations: 2.719 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/6.511, allocations: 3.688 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/6.511, allocations: 6.688 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/6.513, allocations: 1.623 MB / 3.376 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/6.514, allocations: 255.3 kB / 3.377 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/6.514, allocations: 121.5 kB / 3.377 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/6.515, allocations: 1.034 MB / 3.378 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/6.515, allocations: 40.25 kB / 3.378 GB, free: 241.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/6.515, allocations: 2.938 kB / 3.378 GB, free: 241.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001563/6.517, allocations: 316.5 kB / 3.378 GB, free: 241.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/6.517, allocations: 54.91 kB / 3.378 GB, free: 241.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/6.517, allocations: 257.5 kB / 3.378 GB, free: 241.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/6.517, allocations: 25.7 kB / 3.378 GB, free: 241.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.468e-05/6.517, allocations: 171.3 kB / 3.379 GB, free: 241 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/6.518, allocations: 88.48 kB / 3.379 GB, free: 240.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/6.518, allocations: 0 / 3.379 GB, free: 240.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/6.518, allocations: 343.9 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/6.518, allocations: 58.33 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/6.518, allocations: 114.5 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/6.519, allocations: 129.1 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/6.519, allocations: 0 / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007995/6.519, allocations: 281.4 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/6.519, allocations: 4.562 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/6.519, allocations: 7.156 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/6.519, allocations: 7.781 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/6.52, allocations: 55.12 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/6.52, allocations: 3.594 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/6.52, allocations: 32.16 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/6.52, allocations: 14.41 kB / 3.38 GB, free: 240.5 MB / 0.948 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 8.147e-05/6.52, allocations: 105.8 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.919e-05/6.521, allocations: 38 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009199/6.521, allocations: 292 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/6.522, allocations: 7.219 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.522, allocations: 0 / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/6.522, allocations: 0 / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/6.523, allocations: 0.8091 MB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/6.523, allocations: 0 / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/6.524, allocations: 51.84 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/6.524, allocations: 3.344 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/6.524, allocations: 3.719 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/6.524, allocations: 7.844 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/6.524, allocations: 9.969 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001069/6.525, allocations: 0.6028 MB / 3.381 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/6.525, allocations: 134.9 kB / 3.382 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/6.525, allocations: 3.906 kB / 3.382 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/6.526, allocations: 24.67 kB / 3.382 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/6.526, allocations: 24.22 kB / 3.382 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/6.526, allocations: 11.41 kB / 3.382 GB, free: 239.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002343/6.526, allocations: 204.4 kB / 3.382 GB, free: 239.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000856/6.527, allocations: 206.4 kB / 3.382 GB, free: 239.5 MB / 0.948 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.001996/6.529, allocations: 1.365 MB / 3.383 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004745/6.529, allocations: 169.9 kB / 3.384 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/6.529, allocations: 0 / 3.384 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/6.53, allocations: 101 kB / 3.384 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/6.531, allocations: 152.7 kB / 3.384 GB, free: 239.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/6.533, allocations: 0.6667 MB / 3.384 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/6.533, allocations: 0.8706 MB / 3.385 GB, free: 238.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.253e-06/6.533, allocations: 0 / 3.385 GB, free: 238.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03041/6.564, allocations: 12.66 MB / 3.398 GB, free: 238.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)