Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009828, allocations: 181.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 86.59 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3371/0.3379, allocations: 112.5 MB / 0.7808 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.493, allocations: 106.3 MB / 0.8847 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.542/4.035, allocations: 2.18 GB / 3.064 GB, free: 222 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/4.035, allocations: 83.95 kB / 3.064 GB, free: 221.9 MB / 0.8698 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.7521/4.787, allocations: 235.6 MB / 3.295 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/4.787, allocations: 10 kB / 3.295 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/4.788, allocations: 165.5 kB / 3.295 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/4.789, allocations: 344 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/4.789, allocations: 7.844 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/4.789, allocations: 14.19 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003134/4.789, allocations: 207.7 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/4.79, allocations: 254.4 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/4.79, allocations: 5.797 kB / 3.296 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/4.79, allocations: 0 / 3.296 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/4.79, allocations: 3.812 kB / 3.296 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/4.791, allocations: 1.104 MB / 3.297 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/4.791, allocations: 214 kB / 3.297 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/4.791, allocations: 104.7 kB / 3.297 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/4.792, allocations: 472.6 kB / 3.297 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/4.792, allocations: 36.28 kB / 3.297 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.332e-06/4.792, allocations: 3.219 kB / 3.297 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0008451/4.793, allocations: 249.7 kB / 3.298 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/4.793, allocations: 55.31 kB / 3.298 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/4.793, allocations: 191.5 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/4.793, allocations: 29.61 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/4.793, allocations: 148.4 kB / 3.298 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/4.793, allocations: 62.47 kB / 3.298 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/4.793, allocations: 0 / 3.298 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/4.793, allocations: 333.1 kB / 3.298 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-05/4.793, allocations: 53.67 kB / 3.298 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/4.793, allocations: 108.3 kB / 3.299 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/4.794, allocations: 98.47 kB / 3.299 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/4.794, allocations: 0 / 3.299 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003771/4.794, allocations: 229 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/4.794, allocations: 3.906 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/4.794, allocations: 0.75 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/4.794, allocations: 3.062 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/4.794, allocations: 49.69 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/4.794, allocations: 2.844 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/4.794, allocations: 30.83 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/4.794, allocations: 7.531 kB / 3.299 GB, free: 237.4 MB / 0.8698 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.613e-05/4.795, allocations: 116.8 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/4.795, allocations: 25.69 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/4.795, allocations: 229.3 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/4.795, allocations: 3.844 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.795, allocations: 0 / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/4.795, allocations: 0 / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008216/4.796, allocations: 0.7001 MB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/4.796, allocations: 7.125 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/4.796, allocations: 41.89 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/4.796, allocations: 3.75 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/4.796, allocations: 15.11 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/4.796, allocations: 3.75 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/4.796, allocations: 3.688 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005015/4.797, allocations: 0.5699 MB / 3.301 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007484/4.797, allocations: 1.076 MB / 3.302 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/4.798, allocations: 114.5 kB / 3.302 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/4.798, allocations: 11.61 kB / 3.302 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/4.798, allocations: 14.77 kB / 3.302 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/4.798, allocations: 21.42 kB / 3.302 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/4.798, allocations: 15.31 kB / 3.302 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.469e-05/4.798, allocations: 154.4 kB / 3.302 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001264/4.799, allocations: 263.2 kB / 3.302 GB, free: 235.5 MB / 0.8698 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.001244/4.8, allocations: 1.192 MB / 3.303 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002408/4.801, allocations: 130.1 kB / 3.304 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/4.801, allocations: 0 / 3.304 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/4.801, allocations: 78.25 kB / 3.304 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/4.801, allocations: 119.1 kB / 3.304 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/4.802, allocations: 458.2 kB / 3.304 GB, free: 235 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/4.802, allocations: 0.8144 MB / 3.305 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/4.802, allocations: 0 / 3.305 GB, free: 234.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)