Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.0009844/0.0009845, allocations: 193.1 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4533/0.4533, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.166/1.166, allocations: 221.4 MB / 342.7 MB, free: 5.207 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.0008973/0.0008972, allocations: 97.56 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.935e-06, allocations: 4 kB / 493.9 MB, free: 8.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.286, allocations: 72.3 MB / 0.5529 GB, free: 73.3 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.841/3.127, allocations: 1.859 GB / 2.412 GB, free: 219.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/3.127, allocations: 83.95 kB / 2.412 GB, free: 219.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.6815/3.809, allocations: 246.3 MB / 2.652 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.404e-05/3.809, allocations: 11.33 kB / 2.652 GB, free: 160.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009201/3.81, allocations: 0.6354 MB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/3.81, allocations: 7.969 kB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/3.811, allocations: 161.5 kB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/3.812, allocations: 351.9 kB / 2.653 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/3.812, allocations: 7.844 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/3.812, allocations: 14.81 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003102/3.812, allocations: 202.5 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/3.812, allocations: 261.7 kB / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/3.812, allocations: 0 / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/3.812, allocations: 3.938 kB / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/3.812, allocations: 3.344 kB / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/3.814, allocations: 1.082 MB / 2.655 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/3.814, allocations: 216 kB / 2.655 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/3.814, allocations: 106.3 kB / 2.655 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/3.815, allocations: 474 kB / 2.656 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/3.815, allocations: 40.44 kB / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/3.815, allocations: 0 / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0009076/3.816, allocations: 260.2 kB / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/3.816, allocations: 54.72 kB / 2.656 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/3.816, allocations: 192 kB / 2.656 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/3.816, allocations: 25.7 kB / 2.656 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/3.816, allocations: 147.2 kB / 2.656 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/3.816, allocations: 66.38 kB / 2.657 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/3.816, allocations: 0 / 2.657 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/3.816, allocations: 336 kB / 2.657 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/3.816, allocations: 45.36 kB / 2.657 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/3.816, allocations: 110.5 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/3.816, allocations: 101.4 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/3.816, allocations: 0 / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000371/3.817, allocations: 218.5 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/3.817, allocations: 4.625 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/3.817, allocations: 9.031 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/3.817, allocations: 3.719 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/3.817, allocations: 44.52 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/3.817, allocations: 0 / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/3.817, allocations: 31.81 kB / 2.657 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/3.817, allocations: 14.31 kB / 2.657 GB, free: 158 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 7.285e-05/3.817, allocations: 112.8 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/3.817, allocations: 27.97 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/3.818, allocations: 226.2 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/3.818, allocations: 3.938 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/3.818, allocations: 3.5 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/3.818, allocations: 0.75 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008862/3.819, allocations: 0.6865 MB / 2.658 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/3.819, allocations: 7.188 kB / 2.658 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/3.819, allocations: 45.64 kB / 2.658 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/3.819, allocations: 7.531 kB / 2.658 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/3.819, allocations: 3.844 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/3.819, allocations: 3.531 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.819, allocations: 20.02 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005368/3.82, allocations: 0.573 MB / 2.659 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/3.82, allocations: 119.5 kB / 2.659 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/3.82, allocations: 3.594 kB / 2.659 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/3.82, allocations: 20.78 kB / 2.659 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/3.82, allocations: 17.5 kB / 2.659 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/3.82, allocations: 10.66 kB / 2.659 GB, free: 157 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.668e-05/3.82, allocations: 158.5 kB / 2.659 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005446/3.821, allocations: 148.2 kB / 2.66 GB, free: 156.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (19): * Single equations (assignments): 19 * 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.001227/3.822, allocations: 1.189 MB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002358/3.822, allocations: 136.2 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/3.822, allocations: 0 / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/3.822, allocations: 78.94 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/3.823, allocations: 132.4 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/3.824, allocations: 439 kB / 2.661 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/3.824, allocations: 0.8152 MB / 2.662 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/3.824, allocations: 0 / 2.662 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.01438/3.838, allocations: 10.33 MB / 2.672 GB, free: 155.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)