Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.027/2.027, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 184.5 kB / 487 MB, free: 5.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009829/0.0009828, allocations: 104.8 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5036/0.5046, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.7226, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.709/4.431, allocations: 1.905 GB / 3.111 GB, free: 420.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/4.432, allocations: 83.61 kB / 3.111 GB, free: 420.9 MB / 1.151 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.4275/4.859, allocations: 247 MB / 3.352 GB, free: 168.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/4.859, allocations: 9 kB / 3.352 GB, free: 168.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/4.861, allocations: 167.3 kB / 3.352 GB, free: 168.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/4.861, allocations: 341.8 kB / 3.353 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/4.861, allocations: 4 kB / 3.353 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/4.861, allocations: 16 kB / 3.353 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003163/4.861, allocations: 208.8 kB / 3.353 GB, free: 168 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/4.862, allocations: 257.8 kB / 3.353 GB, free: 167.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/4.862, allocations: 0 / 3.353 GB, free: 167.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/4.862, allocations: 0 / 3.353 GB, free: 167.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/4.862, allocations: 4 kB / 3.353 GB, free: 167.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/4.863, allocations: 1.103 MB / 3.354 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/4.863, allocations: 214.6 kB / 3.354 GB, free: 166.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/4.864, allocations: 108.8 kB / 3.354 GB, free: 166.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/4.864, allocations: 465.5 kB / 3.355 GB, free: 165.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/4.864, allocations: 42.47 kB / 3.355 GB, free: 165.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 1.412e-06/4.864, allocations: 0 / 3.355 GB, free: 165.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.0008663/4.865, allocations: 252.3 kB / 3.355 GB, free: 165.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/4.865, allocations: 63.34 kB / 3.355 GB, free: 165.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/4.865, allocations: 189.1 kB / 3.355 GB, free: 165.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/4.865, allocations: 25.7 kB / 3.355 GB, free: 165.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/4.865, allocations: 152.1 kB / 3.355 GB, free: 164.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/4.865, allocations: 59.11 kB / 3.356 GB, free: 164.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/4.865, allocations: 3.938 kB / 3.356 GB, free: 164.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/4.865, allocations: 330.8 kB / 3.356 GB, free: 164.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/4.865, allocations: 48.36 kB / 3.356 GB, free: 164.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/4.866, allocations: 111.4 kB / 3.356 GB, free: 164.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/4.866, allocations: 98.89 kB / 3.356 GB, free: 164.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/4.866, allocations: 0 / 3.356 GB, free: 164.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003685/4.866, allocations: 229.1 kB / 3.356 GB, free: 164 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/4.866, allocations: 4 kB / 3.356 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/4.866, allocations: 0 / 3.356 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/4.866, allocations: 4 kB / 3.356 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/4.866, allocations: 48 kB / 3.356 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/4.866, allocations: 4 kB / 3.356 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/4.867, allocations: 27.92 kB / 3.356 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/4.867, allocations: 15.98 kB / 3.356 GB, free: 163.9 MB / 1.151 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.173e-05/4.867, allocations: 109.6 kB / 3.357 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/4.867, allocations: 27.7 kB / 3.357 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/4.867, allocations: 223.5 kB / 3.357 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/4.867, allocations: 3.984 kB / 3.357 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/4.867, allocations: 0 / 3.357 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/4.867, allocations: 4 kB / 3.357 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/4.868, allocations: 0.6951 MB / 3.357 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/4.868, allocations: 4 kB / 3.357 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/4.868, allocations: 48.27 kB / 3.358 GB, free: 162.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/4.868, allocations: 4 kB / 3.358 GB, free: 162.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/4.868, allocations: 11.92 kB / 3.358 GB, free: 162.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/4.868, allocations: 4 kB / 3.358 GB, free: 162.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/4.868, allocations: 7.938 kB / 3.358 GB, free: 162.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005089/4.869, allocations: 0.5841 MB / 3.358 GB, free: 162 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008019/4.87, allocations: 1.066 MB / 3.359 GB, free: 160.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.535e-05/4.87, allocations: 112.8 kB / 3.359 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/4.87, allocations: 4 kB / 3.359 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/4.87, allocations: 23.95 kB / 3.359 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/4.87, allocations: 23.91 kB / 3.359 GB, free: 160.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/4.87, allocations: 8 kB / 3.359 GB, free: 160.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 9.515e-05/4.87, allocations: 157.2 kB / 3.359 GB, free: 160.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001201/4.872, allocations: 267.7 kB / 3.36 GB, free: 160.2 MB / 1.151 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.001233/4.873, allocations: 1.185 MB / 3.361 GB, free: 159 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002193/4.873, allocations: 132.2 kB / 3.361 GB, free: 158.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/4.873, allocations: 0 / 3.361 GB, free: 158.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/4.873, allocations: 83.84 kB / 3.361 GB, free: 158.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/4.874, allocations: 124.5 kB / 3.361 GB, free: 158.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/4.874, allocations: 442.9 kB / 3.362 GB, free: 158.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/4.875, allocations: 0.8059 MB / 3.362 GB, free: 157.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/4.875, allocations: 4 kB / 3.362 GB, free: 157.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)