Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.455/1.455, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 177.3 kB / 361.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 0.6195 GB, free: 10.39 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 81.77 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 4 kB / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5943/0.5943, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.575/4.169, allocations: 2.06 GB / 3.024 GB, free: 76.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/4.169, allocations: 86.55 kB / 3.024 GB, free: 76.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9592/5.129, allocations: 242.6 MB / 3.261 GB, free: 218.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.332e-05/5.129, allocations: 12 kB / 3.261 GB, free: 218.2 MB / 0.948 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.001152/5.13, allocations: 0.6305 MB / 3.262 GB, free: 217.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/5.13, allocations: 8.031 kB / 3.262 GB, free: 217.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/5.131, allocations: 171.4 kB / 3.262 GB, free: 217.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/5.132, allocations: 333.8 kB / 3.262 GB, free: 217 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/5.132, allocations: 4 kB / 3.262 GB, free: 217 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/5.132, allocations: 23.91 kB / 3.262 GB, free: 217 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003465/5.132, allocations: 208.8 kB / 3.262 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/5.133, allocations: 257.8 kB / 3.263 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/5.133, allocations: 0 / 3.263 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/5.133, allocations: 0 / 3.263 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/5.133, allocations: 4 kB / 3.263 GB, free: 216.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/5.134, allocations: 1.099 MB / 3.264 GB, free: 215.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/5.135, allocations: 214.6 kB / 3.264 GB, free: 215.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/5.135, allocations: 108.8 kB / 3.264 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/5.135, allocations: 470.5 kB / 3.265 GB, free: 214.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/5.135, allocations: 34.56 kB / 3.265 GB, free: 214.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/5.135, allocations: 0 / 3.265 GB, free: 214.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0009376/5.136, allocations: 257.5 kB / 3.265 GB, free: 214.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/5.136, allocations: 59.34 kB / 3.265 GB, free: 214.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/5.136, allocations: 193 kB / 3.265 GB, free: 213.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/5.136, allocations: 25.7 kB / 3.265 GB, free: 213.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/5.137, allocations: 148.2 kB / 3.265 GB, free: 213.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/5.137, allocations: 63.02 kB / 3.265 GB, free: 213.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/5.137, allocations: 0 / 3.265 GB, free: 213.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/5.137, allocations: 334.8 kB / 3.266 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/5.137, allocations: 48.36 kB / 3.266 GB, free: 213.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/5.137, allocations: 103.4 kB / 3.266 GB, free: 213.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/5.137, allocations: 95.89 kB / 3.266 GB, free: 213 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/5.137, allocations: 0 / 3.266 GB, free: 213 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003932/5.138, allocations: 228.7 kB / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/5.138, allocations: 4 kB / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/5.138, allocations: 0 / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/5.138, allocations: 4 kB / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/5.138, allocations: 51.91 kB / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/5.138, allocations: 0 / 3.266 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/5.138, allocations: 31.92 kB / 3.266 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/5.138, allocations: 8 kB / 3.266 GB, free: 212.7 MB / 0.948 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.282e-05/5.138, allocations: 116.8 kB / 3.266 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/5.138, allocations: 27.72 kB / 3.266 GB, free: 212.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/5.139, allocations: 226.3 kB / 3.267 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/5.139, allocations: 96 / 3.267 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/5.139, allocations: 4.062 kB / 3.267 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/5.139, allocations: 7.969 kB / 3.267 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009346/5.14, allocations: 0.695 MB / 3.267 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/5.14, allocations: 7.938 kB / 3.267 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/5.14, allocations: 44.27 kB / 3.267 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/5.14, allocations: 4 kB / 3.267 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/5.14, allocations: 7.938 kB / 3.267 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/5.14, allocations: 8.062 kB / 3.267 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/5.14, allocations: 11.92 kB / 3.267 GB, free: 211.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005527/5.14, allocations: 0.5773 MB / 3.268 GB, free: 210.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.394e-05/5.141, allocations: 120.7 kB / 3.268 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/5.141, allocations: 7.906 kB / 3.268 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/5.141, allocations: 15.98 kB / 3.268 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/5.141, allocations: 20.05 kB / 3.268 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/5.141, allocations: 8 kB / 3.268 GB, free: 210.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001018/5.141, allocations: 157.2 kB / 3.268 GB, free: 210.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006146/5.142, allocations: 159.7 kB / 3.268 GB, free: 210.3 MB / 0.948 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.001539/5.143, allocations: 1.169 MB / 3.269 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002494/5.143, allocations: 131.8 kB / 3.27 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/5.144, allocations: 0 / 3.27 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/5.144, allocations: 84.59 kB / 3.27 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/5.144, allocations: 122.4 kB / 3.27 GB, free: 208.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/5.145, allocations: 445.6 kB / 3.27 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/5.145, allocations: 0.8145 MB / 3.271 GB, free: 207.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/5.145, allocations: 0 / 3.271 GB, free: 207.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01546/5.161, allocations: 10.3 MB / 3.281 GB, free: 197.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)