Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8519/0.8519, allocations: 127.4 MB / 134.6 MB, free: 4.125 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001833/0.001833, allocations: 181.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.622/2.622, allocations: 205.1 MB / 399.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 87.91 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4002/0.4014, allocations: 82.88 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.6003, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.02/6.621, allocations: 2.14 GB / 2.761 GB, free: 28.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/6.621, allocations: 87.94 kB / 2.761 GB, free: 28.79 MB / 0.6355 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.655/8.276, allocations: 351.2 MB / 3.104 GB, free: 140 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/8.276, allocations: 11.03 kB / 3.104 GB, free: 140 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/8.279, allocations: 184.8 kB / 3.104 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/8.28, allocations: 405 kB / 3.104 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/8.28, allocations: 7.875 kB / 3.104 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/8.28, allocations: 25.94 kB / 3.104 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006979/8.281, allocations: 265.2 kB / 3.104 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/8.282, allocations: 335.8 kB / 3.105 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/8.282, allocations: 0 / 3.105 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/8.282, allocations: 3.969 kB / 3.105 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/8.282, allocations: 9.969 kB / 3.105 GB, free: 139.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/8.286, allocations: 1.636 MB / 3.106 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/8.286, allocations: 274.2 kB / 3.107 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/8.286, allocations: 124.5 kB / 3.107 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/8.288, allocations: 1.041 MB / 3.108 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/8.288, allocations: 35.94 kB / 3.108 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 4.819e-06/8.288, allocations: 0 / 3.108 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001584/8.289, allocations: 318.6 kB / 3.108 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/8.29, allocations: 62.84 kB / 3.108 GB, free: 137.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/8.29, allocations: 247.7 kB / 3.108 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/8.29, allocations: 25.7 kB / 3.108 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/8.29, allocations: 162.5 kB / 3.109 GB, free: 137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/8.29, allocations: 91.48 kB / 3.109 GB, free: 137 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/8.29, allocations: 0 / 3.109 GB, free: 137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/8.29, allocations: 345.2 kB / 3.109 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/8.291, allocations: 60.38 kB / 3.109 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/8.291, allocations: 111.9 kB / 3.109 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/8.291, allocations: 129.3 kB / 3.109 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/8.291, allocations: 2.344 kB / 3.109 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006794/8.292, allocations: 285.4 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/8.292, allocations: 3.719 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/8.292, allocations: 7.125 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/8.292, allocations: 0 / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/8.292, allocations: 52.08 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/8.292, allocations: 5.719 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/8.293, allocations: 29.22 kB / 3.11 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/8.293, allocations: 10.44 kB / 3.11 GB, free: 136.6 MB / 0.6355 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 0.0001292/8.293, allocations: 113.1 kB / 3.11 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/8.293, allocations: 34.19 kB / 3.11 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/8.294, allocations: 295.1 kB / 3.11 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/8.294, allocations: 3.938 kB / 3.11 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/8.294, allocations: 6.312 kB / 3.11 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/8.294, allocations: 0 / 3.11 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/8.295, allocations: 0.7841 MB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/8.295, allocations: 3.172 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/8.296, allocations: 57.38 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/8.296, allocations: 3.781 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/8.296, allocations: 6.75 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/8.296, allocations: 3.938 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/8.296, allocations: 3.812 kB / 3.111 GB, free: 136.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009608/8.297, allocations: 0.6063 MB / 3.112 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001349/8.298, allocations: 1.131 MB / 3.113 GB, free: 135 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/8.298, allocations: 131.9 kB / 3.113 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/8.298, allocations: 3.25 kB / 3.113 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/8.299, allocations: 31.33 kB / 3.113 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/8.299, allocations: 22.2 kB / 3.113 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/8.299, allocations: 12.72 kB / 3.113 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002626/8.299, allocations: 195.7 kB / 3.113 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002171/8.301, allocations: 341.4 kB / 3.113 GB, free: 134.8 MB / 0.6355 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.002359/8.304, allocations: 1.392 MB / 3.115 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004504/8.304, allocations: 165.9 kB / 3.115 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/8.304, allocations: 0 / 3.115 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/8.304, allocations: 102.2 kB / 3.115 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/8.305, allocations: 151.9 kB / 3.115 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/8.307, allocations: 0.6627 MB / 3.116 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/8.308, allocations: 0.8751 MB / 3.117 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/8.308, allocations: 3.609 kB / 3.117 GB, free: 133.5 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)