Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [: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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009854, allocations: 176.2 kB / 487 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 221.3 MB / 0.7819 GB, free: 6.828 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009142, allocations: 102 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2352/0.2361, allocations: 148.5 MB / 1.066 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.766, allocations: 142.3 MB / 1.205 GB, free: 72.77 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.815/3.581, allocations: 1.91 GB / 3.115 GB, free: 138.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/3.581, allocations: 81.27 kB / 3.115 GB, free: 138.8 MB / 1.151 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 1.059/4.64, allocations: 360.8 MB / 3.467 GB, free: 238.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/4.64, allocations: 12 kB / 3.467 GB, free: 238.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/4.642, allocations: 191.1 kB / 3.468 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/4.642, allocations: 396.2 kB / 3.468 GB, free: 238.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/4.642, allocations: 12 kB / 3.468 GB, free: 238.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/4.642, allocations: 31.88 kB / 3.468 GB, free: 238 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/4.643, allocations: 253.2 kB / 3.468 GB, free: 237.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/4.643, allocations: 343.1 kB / 3.469 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/4.643, allocations: 4 kB / 3.469 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/4.643, allocations: 4 kB / 3.469 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/4.643, allocations: 8 kB / 3.469 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/4.645, allocations: 1.632 MB / 3.47 GB, free: 235.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/4.645, allocations: 254.7 kB / 3.47 GB, free: 235.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/4.645, allocations: 124.8 kB / 3.471 GB, free: 235.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007264/4.646, allocations: 1.032 MB / 3.472 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/4.646, allocations: 38.56 kB / 3.472 GB, free: 234 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.312e-06/4.646, allocations: 0 / 3.472 GB, free: 234 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009543/4.647, allocations: 319.2 kB / 3.472 GB, free: 233.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.388e-05/4.647, allocations: 55.41 kB / 3.472 GB, free: 233.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/4.647, allocations: 262 kB / 3.472 GB, free: 233.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/4.647, allocations: 25.7 kB / 3.472 GB, free: 233.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/4.647, allocations: 164.3 kB / 3.472 GB, free: 233.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/4.647, allocations: 90.59 kB / 3.473 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/4.647, allocations: 3.938 kB / 3.473 GB, free: 233.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/4.647, allocations: 342.8 kB / 3.473 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/4.647, allocations: 64.45 kB / 3.473 GB, free: 232.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/4.648, allocations: 110 kB / 3.473 GB, free: 232.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/4.648, allocations: 136.1 kB / 3.473 GB, free: 232.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/4.648, allocations: 0 / 3.473 GB, free: 232.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000446/4.648, allocations: 275.8 kB / 3.473 GB, free: 232.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/4.648, allocations: 13.73 kB / 3.473 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/4.648, allocations: 4 kB / 3.473 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/4.648, allocations: 0 / 3.473 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/4.649, allocations: 51.98 kB / 3.473 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/4.649, allocations: 3.938 kB / 3.473 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/4.649, allocations: 35.81 kB / 3.474 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/4.649, allocations: 8 kB / 3.474 GB, free: 232 MB / 1.151 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 5.781e-05/4.649, allocations: 109 kB / 3.474 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/4.649, allocations: 35.53 kB / 3.474 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005167/4.649, allocations: 298 kB / 3.474 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/4.65, allocations: 8 kB / 3.474 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/4.65, allocations: 0 / 3.474 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/4.65, allocations: 0 / 3.474 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000988/4.651, allocations: 0.7978 MB / 3.475 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/4.651, allocations: 4 kB / 3.475 GB, free: 230.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/4.651, allocations: 51.91 kB / 3.475 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/4.651, allocations: 4 kB / 3.475 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/4.651, allocations: 4 kB / 3.475 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/4.651, allocations: 4.25 kB / 3.475 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/4.651, allocations: 4 kB / 3.475 GB, free: 230.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006056/4.651, allocations: 0.6113 MB / 3.475 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008569/4.652, allocations: 1.137 MB / 3.477 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/4.652, allocations: 132.6 kB / 3.477 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/4.652, allocations: 4 kB / 3.477 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/4.653, allocations: 28.25 kB / 3.477 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/4.653, allocations: 27.88 kB / 3.477 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/4.653, allocations: 8 kB / 3.477 GB, free: 228.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001347/4.653, allocations: 208.6 kB / 3.477 GB, free: 228.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001243/4.654, allocations: 343.6 kB / 3.477 GB, free: 227.9 MB / 1.151 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.001264/4.656, allocations: 1.373 MB / 3.479 GB, free: 226.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002447/4.656, allocations: 168.3 kB / 3.479 GB, free: 226.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/4.656, allocations: 4 kB / 3.479 GB, free: 226.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/4.656, allocations: 99.84 kB / 3.479 GB, free: 226.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/4.657, allocations: 143 kB / 3.479 GB, free: 226.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/4.658, allocations: 0.6625 MB / 3.48 GB, free: 225.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/4.658, allocations: 0.8765 MB / 3.48 GB, free: 224.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/4.658, allocations: 4 kB / 3.48 GB, free: 224.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)