Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure") [: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.6666/0.6666, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001168/0.001168, allocations: 185.3 kB / 164.4 MB, free: 6.871 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.677/1.677, allocations: 205.1 MB / 399.1 MB, free: 6.059 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.001173/0.001173, allocations: 85.39 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.08e-05/1.083e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1872, allocations: 76.76 MB / 0.6209 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.853/5.04, allocations: 2.139 GB / 2.76 GB, free: 44.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/5.04, allocations: 91.94 kB / 2.76 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.389/6.43, allocations: 340.3 MB / 3.092 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.552e-05/6.43, allocations: 16.06 kB / 3.092 GB, free: 126.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001621/6.431, allocations: 0.6589 MB / 3.093 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/6.431, allocations: 9.125 kB / 3.093 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/6.432, allocations: 60.73 kB / 3.093 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/6.433, allocations: 319 kB / 3.093 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/6.433, allocations: 9.125 kB / 3.093 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/6.433, allocations: 16.53 kB / 3.093 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002966/6.433, allocations: 123.3 kB / 3.093 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/6.433, allocations: 240.4 kB / 3.094 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/6.433, allocations: 0 / 3.094 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/6.433, allocations: 5.125 kB / 3.094 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/6.433, allocations: 3.938 kB / 3.094 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/6.435, allocations: 1.509 MB / 3.095 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/6.435, allocations: 103.1 kB / 3.095 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/6.435, allocations: 53.84 kB / 3.095 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/6.436, allocations: 188.8 kB / 3.095 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/6.436, allocations: 38.09 kB / 3.095 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/6.436, allocations: 0 / 3.095 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0007551/6.436, allocations: 171 kB / 3.096 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/6.437, allocations: 54.69 kB / 3.096 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/6.437, allocations: 211.6 kB / 3.096 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/6.437, allocations: 28.64 kB / 3.096 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.856e-05/6.437, allocations: 176.3 kB / 3.096 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/6.437, allocations: 35.73 kB / 3.096 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/6.437, allocations: 0 / 3.096 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/6.437, allocations: 334 kB / 3.096 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/6.437, allocations: 43.84 kB / 3.096 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/6.437, allocations: 172.8 kB / 3.097 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/6.437, allocations: 62.91 kB / 3.097 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/6.437, allocations: 3.844 kB / 3.097 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003197/6.438, allocations: 209.2 kB / 3.097 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003581/6.438, allocations: 1.309 MB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/6.438, allocations: 3.969 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/6.438, allocations: 7.281 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/6.438, allocations: 53.14 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/6.438, allocations: 16.69 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003048/6.439, allocations: 34.34 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/6.439, allocations: 10.53 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/6.439, allocations: 6.719 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000219/6.439, allocations: 139.1 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/6.439, allocations: 2.531 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/6.439, allocations: 6.688 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/6.439, allocations: 48.95 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/6.439, allocations: 7.469 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/6.439, allocations: 29.08 kB / 3.098 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/6.44, allocations: 14.41 kB / 3.099 GB, free: 122.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.338e-05/6.44, allocations: 119.5 kB / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/6.44, allocations: 22.03 kB / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/6.44, allocations: 28.23 kB / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/6.44, allocations: 6.781 kB / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/6.44, allocations: 0 / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/6.44, allocations: 3.219 kB / 3.099 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/6.441, allocations: 0.5278 MB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/6.441, allocations: 3.781 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/6.441, allocations: 35.53 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/6.441, allocations: 2.125 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/6.441, allocations: 3.844 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/6.441, allocations: 7.016 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/6.441, allocations: 7.312 kB / 3.099 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002617/6.441, allocations: 336.5 kB / 3.1 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/6.441, allocations: 97.55 kB / 3.1 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/6.441, allocations: 6.031 kB / 3.1 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/6.441, allocations: 25.27 kB / 3.1 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/6.441, allocations: 16.53 kB / 3.1 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/6.441, allocations: 3.062 kB / 3.1 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001338/6.442, allocations: 169 kB / 3.1 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009122/6.443, allocations: 217.2 kB / 3.1 GB, free: 121.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002124/6.445, allocations: 1.425 MB / 3.101 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000429/6.445, allocations: 204.4 kB / 3.102 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/6.445, allocations: 0 / 3.102 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.024e-05/6.445, allocations: 56.27 kB / 3.102 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/6.446, allocations: 97.22 kB / 3.102 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007482/6.447, allocations: 333.3 kB / 3.102 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/6.447, allocations: 0.8128 MB / 3.103 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/6.447, allocations: 3.938 kB / 3.103 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.02056/6.468, allocations: 11.75 MB / 3.114 GB, free: 119.8 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)