Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity",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.498/1.498, allocations: 289.8 MB / 297 MB, free: 6.609 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.001149/0.00115, allocations: 169.3 kB / 366.3 MB, free: 1.949 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.355/1.355, allocations: 205.1 MB / 0.6256 GB, free: 7.422 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.0009184/0.0009185, allocations: 91.86 kB / 0.7395 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2526/0.2535, allocations: 122.4 MB / 0.8591 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.654/0.9075, allocations: 116.3 MB / 0.9726 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.753/4.661, allocations: 2.062 GB / 3.034 GB, free: 53.62 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/4.661, allocations: 83.95 kB / 3.034 GB, free: 53.54 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.9061/5.568, allocations: 243.3 MB / 3.272 GB, free: 190.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/5.568, allocations: 8 kB / 3.272 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/5.569, allocations: 171.3 kB / 3.272 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/5.569, allocations: 342.2 kB / 3.272 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/5.569, allocations: 8 kB / 3.272 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/5.569, allocations: 20 kB / 3.272 GB, free: 189.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003345/5.57, allocations: 204.9 kB / 3.273 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/5.57, allocations: 266.4 kB / 3.273 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/5.57, allocations: 0 / 3.273 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/5.57, allocations: 0 / 3.273 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/5.57, allocations: 11.91 kB / 3.273 GB, free: 189.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/5.571, allocations: 1.112 MB / 3.274 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/5.572, allocations: 227.1 kB / 3.274 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/5.572, allocations: 109.2 kB / 3.274 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005106/5.572, allocations: 469.7 kB / 3.275 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/5.572, allocations: 38.69 kB / 3.275 GB, free: 187.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/5.572, allocations: 0 / 3.275 GB, free: 187.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0008794/5.573, allocations: 266.8 kB / 3.275 GB, free: 186.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/5.573, allocations: 55.34 kB / 3.275 GB, free: 186.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/5.573, allocations: 201.1 kB / 3.275 GB, free: 186.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/5.573, allocations: 25.7 kB / 3.275 GB, free: 186.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/5.573, allocations: 144.3 kB / 3.275 GB, free: 186.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/5.573, allocations: 74.94 kB / 3.276 GB, free: 186.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/5.574, allocations: 7.938 kB / 3.276 GB, free: 186.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/5.574, allocations: 338.7 kB / 3.276 GB, free: 186 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/5.574, allocations: 52.73 kB / 3.276 GB, free: 185.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/5.574, allocations: 111.3 kB / 3.276 GB, free: 185.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/5.574, allocations: 99.89 kB / 3.276 GB, free: 185.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/5.574, allocations: 0 / 3.276 GB, free: 185.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000376/5.574, allocations: 237.1 kB / 3.276 GB, free: 185.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/5.574, allocations: 4 kB / 3.276 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/5.574, allocations: 0 / 3.276 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/5.574, allocations: 4 kB / 3.276 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/5.575, allocations: 52 kB / 3.276 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/5.575, allocations: 4 kB / 3.276 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/5.575, allocations: 23.89 kB / 3.276 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/5.575, allocations: 19.89 kB / 3.276 GB, free: 185.4 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 (24): * Single equations (assignments): 24 * 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.48e-05/5.575, allocations: 112.9 kB / 3.277 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/5.575, allocations: 27.8 kB / 3.277 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/5.575, allocations: 231.7 kB / 3.277 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/5.576, allocations: 0 / 3.277 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/5.576, allocations: 3.906 kB / 3.277 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/5.576, allocations: 7.984 kB / 3.277 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/5.576, allocations: 0.7031 MB / 3.278 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/5.576, allocations: 8.031 kB / 3.278 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/5.577, allocations: 51.91 kB / 3.278 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/5.577, allocations: 4 kB / 3.278 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/5.577, allocations: 4 kB / 3.278 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/5.577, allocations: 7.938 kB / 3.278 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.577, allocations: 4 kB / 3.278 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005429/5.577, allocations: 0.5992 MB / 3.278 GB, free: 183.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007771/5.578, allocations: 1.102 MB / 3.279 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/5.578, allocations: 112.8 kB / 3.279 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/5.578, allocations: 4 kB / 3.279 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/5.578, allocations: 23.97 kB / 3.279 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/5.578, allocations: 20.05 kB / 3.279 GB, free: 182 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/5.578, allocations: 19.94 kB / 3.279 GB, free: 182 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.369e-05/5.579, allocations: 157.2 kB / 3.28 GB, free: 181.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001231/5.58, allocations: 267.8 kB / 3.28 GB, free: 181.6 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 (21): * Single equations (assignments): 21 * 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.001237/5.581, allocations: 1.191 MB / 3.281 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002234/5.581, allocations: 139.8 kB / 3.281 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/5.581, allocations: 0 / 3.281 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/5.581, allocations: 83.86 kB / 3.281 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/5.582, allocations: 116.3 kB / 3.281 GB, free: 180.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/5.583, allocations: 468.1 kB / 3.282 GB, free: 179.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/5.583, allocations: 0.8266 MB / 3.283 GB, free: 178.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/5.583, allocations: 0 / 3.283 GB, free: 178.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)