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: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7109/0.7109, allocations: 127.4 MB / 134.6 MB, free: 4.121 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.001238/0.001238, allocations: 185.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.956/1.956, 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.00114/0.00114, allocations: 94.3 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.043e-05/1.047e-05, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2104, allocations: 76.74 MB / 0.6209 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.939/5.149, allocations: 2.139 GB / 2.76 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/5.15, allocations: 83.95 kB / 2.76 GB, free: 73.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.426/6.576, allocations: 350.5 MB / 3.103 GB, free: 135 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.78e-05/6.576, allocations: 14.28 kB / 3.103 GB, free: 135 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 0.002085/6.578, allocations: 0.7607 MB / 3.103 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/6.578, allocations: 8.594 kB / 3.104 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/6.58, allocations: 188.2 kB / 3.104 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/6.581, allocations: 411.8 kB / 3.104 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/6.581, allocations: 11.06 kB / 3.104 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/6.581, allocations: 20.91 kB / 3.104 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005414/6.582, allocations: 262.5 kB / 3.104 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/6.582, allocations: 333.9 kB / 3.105 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/6.582, allocations: 6.141 kB / 3.105 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/6.582, allocations: 0 / 3.105 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/6.582, allocations: 6.344 kB / 3.105 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/6.584, allocations: 1.634 MB / 3.106 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/6.585, allocations: 268.6 kB / 3.107 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/6.585, allocations: 126.1 kB / 3.107 GB, free: 133.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009765/6.586, allocations: 1.033 MB / 3.108 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/6.586, allocations: 38.5 kB / 3.108 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.936e-06/6.586, allocations: 0 / 3.108 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.00118/6.587, allocations: 322 kB / 3.108 GB, free: 132 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/6.587, allocations: 55.19 kB / 3.108 GB, free: 132 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/6.588, allocations: 247.6 kB / 3.108 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/6.588, allocations: 25.7 kB / 3.108 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/6.588, allocations: 173.8 kB / 3.108 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/6.588, allocations: 87.02 kB / 3.109 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/6.588, allocations: 0 / 3.109 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/6.588, allocations: 342.2 kB / 3.109 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/6.588, allocations: 59.62 kB / 3.109 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/6.588, allocations: 109.7 kB / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/6.589, allocations: 128.8 kB / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/6.589, allocations: 0 / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005424/6.589, allocations: 282.3 kB / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/6.589, allocations: 10 kB / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/6.589, allocations: 0 / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/6.589, allocations: 0 / 3.109 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/6.589, allocations: 61.8 kB / 3.11 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/6.59, allocations: 5.25 kB / 3.11 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/6.59, allocations: 27.06 kB / 3.11 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/6.59, allocations: 10.34 kB / 3.11 GB, free: 131.2 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 8.531e-05/6.59, allocations: 114.1 kB / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/6.59, allocations: 34.97 kB / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/6.591, allocations: 297.7 kB / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/6.591, allocations: 0 / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/6.591, allocations: 6.375 kB / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/6.591, allocations: 3.656 kB / 3.11 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/6.592, allocations: 0.7847 MB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/6.592, allocations: 3.969 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/6.592, allocations: 55.77 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/6.592, allocations: 6.469 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/6.592, allocations: 6.312 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/6.592, allocations: 5.906 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/6.592, allocations: 3.969 kB / 3.111 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007588/6.593, allocations: 0.5977 MB / 3.111 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/6.593, allocations: 137.9 kB / 3.112 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/6.593, allocations: 3.75 kB / 3.112 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/6.594, allocations: 20.56 kB / 3.112 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/6.594, allocations: 25 kB / 3.112 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/6.594, allocations: 11 kB / 3.112 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001805/6.594, allocations: 194.9 kB / 3.112 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008202/6.595, allocations: 200.7 kB / 3.112 GB, free: 130.2 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.002337/6.597, allocations: 1.396 MB / 3.113 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003598/6.597, allocations: 173.9 kB / 3.114 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/6.598, allocations: 0 / 3.114 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/6.598, allocations: 99.28 kB / 3.114 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/6.599, allocations: 144.2 kB / 3.114 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/6.6, allocations: 0.6622 MB / 3.114 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/6.601, allocations: 0.8647 MB / 3.115 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/6.601, allocations: 0 / 3.115 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.02216/6.623, allocations: 12.69 MB / 3.128 GB, free: 128.7 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)