Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") [: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.7078/0.7078, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001337/0.001337, allocations: 181.3 kB / 164.4 MB, free: 6.867 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.761/1.761, allocations: 205.1 MB / 399.1 MB, free: 6.125 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.001053/0.001053, allocations: 86.56 kB / 476.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.628e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 76.75 MB / 0.6209 GB, free: 13.9 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.394/4.579, allocations: 2.136 GB / 2.757 GB, free: 76.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/4.579, allocations: 89.16 kB / 2.757 GB, free: 76.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.8099/5.389, allocations: 241.5 MB / 2.992 GB, free: 85.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.064e-05/5.389, allocations: 4 kB / 2.992 GB, free: 85.37 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001244/5.391, allocations: 0.6344 MB / 2.993 GB, free: 84.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/5.391, allocations: 8.031 kB / 2.993 GB, free: 84.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/5.392, allocations: 163.4 kB / 2.993 GB, free: 84.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/5.393, allocations: 345.7 kB / 2.994 GB, free: 84.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/5.393, allocations: 12 kB / 2.994 GB, free: 84.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/5.393, allocations: 16 kB / 2.994 GB, free: 84.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003864/5.393, allocations: 208.8 kB / 2.994 GB, free: 83.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/5.394, allocations: 253.7 kB / 2.994 GB, free: 83.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/5.394, allocations: 7.984 kB / 2.994 GB, free: 83.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/5.394, allocations: 0 / 2.994 GB, free: 83.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/5.394, allocations: 8 kB / 2.994 GB, free: 83.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/5.395, allocations: 1.09 MB / 2.995 GB, free: 82.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/5.396, allocations: 242.7 kB / 2.995 GB, free: 82.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/5.396, allocations: 100.8 kB / 2.995 GB, free: 82.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005635/5.396, allocations: 469.5 kB / 2.996 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/5.396, allocations: 34.56 kB / 2.996 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 2.255e-06/5.396, allocations: 0 / 2.996 GB, free: 81.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.0009621/5.397, allocations: 259.9 kB / 2.996 GB, free: 81.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/5.397, allocations: 59.34 kB / 2.996 GB, free: 81.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/5.397, allocations: 188.3 kB / 2.996 GB, free: 81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/5.398, allocations: 25.7 kB / 2.996 GB, free: 80.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/5.398, allocations: 144.2 kB / 2.997 GB, free: 80.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/5.398, allocations: 63.03 kB / 2.997 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/5.398, allocations: 4 kB / 2.997 GB, free: 80.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/5.398, allocations: 334.8 kB / 2.997 GB, free: 80.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/5.398, allocations: 44.36 kB / 2.997 GB, free: 80.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/5.398, allocations: 98.55 kB / 2.997 GB, free: 80.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/5.398, allocations: 95.91 kB / 2.997 GB, free: 80.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/5.398, allocations: 3.938 kB / 2.997 GB, free: 80.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003942/5.399, allocations: 221.9 kB / 2.997 GB, free: 79.94 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/5.399, allocations: 4 kB / 2.997 GB, free: 79.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/5.399, allocations: 3.938 kB / 2.997 GB, free: 79.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/5.399, allocations: 4 kB / 2.997 GB, free: 79.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/5.399, allocations: 47.91 kB / 2.997 GB, free: 79.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/5.399, allocations: 8.062 kB / 2.998 GB, free: 79.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/5.399, allocations: 19.89 kB / 2.998 GB, free: 79.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/5.399, allocations: 8 kB / 2.998 GB, free: 79.85 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.859e-05/5.399, allocations: 104.9 kB / 2.998 GB, free: 79.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/5.399, allocations: 27.72 kB / 2.998 GB, free: 79.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/5.4, allocations: 223.5 kB / 2.998 GB, free: 79.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/5.4, allocations: 0 / 2.998 GB, free: 79.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/5.4, allocations: 0 / 2.998 GB, free: 79.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/5.4, allocations: 4.141 kB / 2.998 GB, free: 79.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009293/5.401, allocations: 0.6748 MB / 2.999 GB, free: 78.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/5.401, allocations: 7.984 kB / 2.999 GB, free: 78.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/5.401, allocations: 44.23 kB / 2.999 GB, free: 78.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/5.401, allocations: 4 kB / 2.999 GB, free: 78.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/5.401, allocations: 4 kB / 2.999 GB, free: 78.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/5.401, allocations: 11.89 kB / 2.999 GB, free: 78.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/5.401, allocations: 7.938 kB / 2.999 GB, free: 78.66 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006451/5.402, allocations: 0.5475 MB / 2.999 GB, free: 78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/5.402, allocations: 105 kB / 2.999 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/5.402, allocations: 15.84 kB / 2.999 GB, free: 77.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/5.402, allocations: 15.98 kB / 2.999 GB, free: 77.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/5.402, allocations: 19.98 kB / 2.999 GB, free: 77.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/5.402, allocations: 4 kB / 2.999 GB, free: 77.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001048/5.402, allocations: 152.5 kB / 2.999 GB, free: 77.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006274/5.403, allocations: 147.8 kB / 3 GB, free: 77.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001605/5.404, allocations: 1.209 MB / 3.001 GB, free: 76.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002652/5.405, allocations: 127.9 kB / 3.001 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/5.405, allocations: 0 / 3.001 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/5.405, allocations: 71.86 kB / 3.001 GB, free: 76.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/5.406, allocations: 125 kB / 3.001 GB, free: 76 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/5.406, allocations: 434.9 kB / 3.001 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/5.407, allocations: 0.8095 MB / 3.002 GB, free: 74.68 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/5.407, allocations: 0 / 3.002 GB, free: 74.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.01634/5.423, allocations: 10.31 MB / 3.012 GB, free: 64.42 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)