Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.51/1.51, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001294/0.001294, allocations: 165.3 kB / 366.3 MB, free: 2.016 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.344/1.344, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.001087/0.001087, allocations: 89.03 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2525/0.2536, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.8959, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/5.218, allocations: 2.061 GB / 3.034 GB, free: 286.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/5.218, allocations: 87.72 kB / 3.034 GB, free: 286.5 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.4564/5.675, allocations: 243.2 MB / 3.272 GB, free: 119.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/5.675, allocations: 11.94 kB / 3.272 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/5.676, allocations: 171.3 kB / 3.272 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005951/5.677, allocations: 345.8 kB / 3.272 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/5.677, allocations: 4 kB / 3.272 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/5.677, allocations: 16 kB / 3.272 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003497/5.677, allocations: 200.8 kB / 3.272 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/5.678, allocations: 253.8 kB / 3.273 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/5.678, allocations: 4 kB / 3.273 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/5.678, allocations: 3.938 kB / 3.273 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/5.678, allocations: 8 kB / 3.273 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/5.679, allocations: 1.087 MB / 3.274 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/5.679, allocations: 219.9 kB / 3.274 GB, free: 117.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/5.679, allocations: 104.8 kB / 3.274 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/5.68, allocations: 469.5 kB / 3.274 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/5.68, allocations: 34.56 kB / 3.274 GB, free: 116.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.984e-06/5.68, allocations: 4 kB / 3.274 GB, free: 116.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0009428/5.681, allocations: 253.1 kB / 3.275 GB, free: 116.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/5.681, allocations: 55.75 kB / 3.275 GB, free: 116.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/5.681, allocations: 193.1 kB / 3.275 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/5.681, allocations: 25.7 kB / 3.275 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/5.681, allocations: 144.2 kB / 3.275 GB, free: 115.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/5.681, allocations: 70.95 kB / 3.275 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/5.681, allocations: 0 / 3.275 GB, free: 115.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/5.681, allocations: 334.8 kB / 3.276 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/5.682, allocations: 44.38 kB / 3.276 GB, free: 115.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/5.682, allocations: 103.4 kB / 3.276 GB, free: 115.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/5.682, allocations: 103.9 kB / 3.276 GB, free: 115.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/5.682, allocations: 0 / 3.276 GB, free: 115.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004063/5.682, allocations: 228.7 kB / 3.276 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/5.682, allocations: 4 kB / 3.276 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/5.682, allocations: 0 / 3.276 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/5.682, allocations: 7.906 kB / 3.276 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/5.683, allocations: 52 kB / 3.276 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/5.683, allocations: 0 / 3.276 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/5.683, allocations: 27.83 kB / 3.276 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/5.683, allocations: 12 kB / 3.276 GB, free: 114.8 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 6.516e-05/5.683, allocations: 112.9 kB / 3.276 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/5.683, allocations: 23.66 kB / 3.276 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/5.683, allocations: 230.4 kB / 3.276 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/5.683, allocations: 0 / 3.276 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/5.683, allocations: 7.844 kB / 3.276 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/5.683, allocations: 3.984 kB / 3.276 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009033/5.684, allocations: 0.703 MB / 3.277 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/5.684, allocations: 4 kB / 3.277 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002018/5.685, allocations: 39.92 kB / 3.277 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/5.685, allocations: 4 kB / 3.277 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/5.685, allocations: 4 kB / 3.277 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/5.685, allocations: 4 kB / 3.277 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/5.685, allocations: 7.984 kB / 3.277 GB, free: 113.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005806/5.685, allocations: 0.5812 MB / 3.278 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008513/5.686, allocations: 1.061 MB / 3.279 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/5.686, allocations: 124.7 kB / 3.279 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/5.686, allocations: 4 kB / 3.279 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/5.686, allocations: 19.89 kB / 3.279 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/5.687, allocations: 23.98 kB / 3.279 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/5.687, allocations: 8 kB / 3.279 GB, free: 111.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.923e-05/5.687, allocations: 157.2 kB / 3.279 GB, free: 111.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001368/5.688, allocations: 263.8 kB / 3.279 GB, free: 111.1 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.001493/5.69, allocations: 1.19 MB / 3.281 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002332/5.69, allocations: 124.2 kB / 3.281 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/5.69, allocations: 4 kB / 3.281 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/5.69, allocations: 84.41 kB / 3.281 GB, free: 109.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/5.691, allocations: 126.3 kB / 3.281 GB, free: 109.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/5.691, allocations: 442.7 kB / 3.281 GB, free: 109 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/5.692, allocations: 0.8215 MB / 3.282 GB, free: 108.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/5.692, allocations: 0 / 3.282 GB, free: 108.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)