Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 192.5 kB / 7.806 MB, free: 2.23 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4552/0.4552, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.4 MB / 342.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 100.6 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1767/0.1777, allocations: 78.44 MB / 494 MB, free: 7.953 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.5782, allocations: 72.29 MB / 0.553 GB, free: 73.41 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.494/4.072, allocations: 1.863 GB / 2.416 GB, free: 215.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/4.072, allocations: 83.95 kB / 2.416 GB, free: 215.8 MB / 0.6042 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.8922/4.965, allocations: 360.7 MB / 2.769 GB, free: 91.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/4.965, allocations: 8 kB / 2.769 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/4.966, allocations: 187.2 kB / 2.769 GB, free: 91.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008084/4.967, allocations: 404.1 kB / 2.769 GB, free: 91.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/4.967, allocations: 12 kB / 2.769 GB, free: 91.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/4.967, allocations: 20 kB / 2.769 GB, free: 91.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000447/4.968, allocations: 253.2 kB / 2.769 GB, free: 90.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/4.968, allocations: 347.1 kB / 2.77 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/4.968, allocations: 0 / 2.77 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/4.968, allocations: 0 / 2.77 GB, free: 90.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/4.968, allocations: 8 kB / 2.77 GB, free: 90.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/4.97, allocations: 1.629 MB / 2.771 GB, free: 88.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/4.97, allocations: 250.6 kB / 2.772 GB, free: 88.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/4.971, allocations: 124.8 kB / 2.772 GB, free: 88.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/4.971, allocations: 1.044 MB / 2.773 GB, free: 87.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/4.972, allocations: 34.56 kB / 2.773 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/4.972, allocations: 0 / 2.773 GB, free: 87.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001046/4.973, allocations: 321.4 kB / 2.773 GB, free: 86.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/4.973, allocations: 55.34 kB / 2.773 GB, free: 86.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/4.973, allocations: 254.1 kB / 2.773 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/4.973, allocations: 26.91 kB / 2.773 GB, free: 86.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.626e-05/4.973, allocations: 172.3 kB / 2.773 GB, free: 86.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/4.973, allocations: 82.69 kB / 2.774 GB, free: 86.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/4.973, allocations: 0 / 2.774 GB, free: 86.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/4.973, allocations: 346.8 kB / 2.774 GB, free: 85.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/4.973, allocations: 60.45 kB / 2.774 GB, free: 85.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/4.973, allocations: 114 kB / 2.774 GB, free: 85.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/4.974, allocations: 131.8 kB / 2.774 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/4.974, allocations: 3.906 kB / 2.774 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00048/4.974, allocations: 275.9 kB / 2.774 GB, free: 85.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/4.974, allocations: 8 kB / 2.774 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/4.974, allocations: 3.281 kB / 2.774 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/4.974, allocations: 4 kB / 2.774 GB, free: 85.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/4.974, allocations: 55.91 kB / 2.775 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/4.974, allocations: 4 kB / 2.775 GB, free: 85.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/4.975, allocations: 35.84 kB / 2.775 GB, free: 85.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/4.975, allocations: 8 kB / 2.775 GB, free: 85.05 MB / 0.6042 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 6.997e-05/4.975, allocations: 110.3 kB / 2.775 GB, free: 84.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/4.975, allocations: 35.62 kB / 2.775 GB, free: 84.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/4.975, allocations: 302 kB / 2.775 GB, free: 84.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/4.975, allocations: 0 / 2.775 GB, free: 84.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/4.975, allocations: 3.984 kB / 2.775 GB, free: 84.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/4.975, allocations: 0 / 2.775 GB, free: 84.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/4.977, allocations: 0.7889 MB / 2.776 GB, free: 83.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/4.977, allocations: 4 kB / 2.776 GB, free: 83.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/4.977, allocations: 55.91 kB / 2.776 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/4.977, allocations: 4.25 kB / 2.776 GB, free: 83.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/4.977, allocations: 11.91 kB / 2.776 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/4.977, allocations: 4 kB / 2.776 GB, free: 83.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/4.977, allocations: 7.938 kB / 2.776 GB, free: 83.65 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006914/4.978, allocations: 0.6062 MB / 2.776 GB, free: 82.96 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001014/4.979, allocations: 1.142 MB / 2.778 GB, free: 81.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/4.979, allocations: 136.6 kB / 2.778 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/4.979, allocations: 3.984 kB / 2.778 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003171/4.979, allocations: 27.89 kB / 2.778 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/4.979, allocations: 23.97 kB / 2.778 GB, free: 81.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/4.979, allocations: 8 kB / 2.778 GB, free: 81.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001489/4.979, allocations: 204.5 kB / 2.778 GB, free: 81.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00139/4.981, allocations: 347.6 kB / 2.778 GB, free: 80.97 MB / 0.6042 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.001561/4.982, allocations: 1.377 MB / 2.78 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000255/4.983, allocations: 167.9 kB / 2.78 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/4.983, allocations: 0 / 2.78 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/4.983, allocations: 95.86 kB / 2.78 GB, free: 79.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000743/4.983, allocations: 151.7 kB / 2.78 GB, free: 79.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/4.985, allocations: 0.6682 MB / 2.781 GB, free: 78.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/4.985, allocations: 0.8765 MB / 2.782 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.985, allocations: 0 / 2.782 GB, free: 77.54 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)