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: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") [: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.524/1.524, allocations: 289.8 MB / 297 MB, free: 6.594 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.001314/0.001314, allocations: 180.1 kB / 366.3 MB, free: 1.922 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.536/1.536, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0009991/0.0009991, allocations: 93.62 kB / 0.7395 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.167e-06, allocations: 4 kB / 0.859 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6217/0.6218, allocations: 116.3 MB / 0.9726 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.961/4.583, allocations: 2.062 GB / 3.034 GB, free: 15.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/4.583, allocations: 84.8 kB / 3.034 GB, free: 14.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9186/5.502, allocations: 242.7 MB / 3.271 GB, free: 153.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.66e-05/5.502, allocations: 12 kB / 3.271 GB, free: 153.7 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.001027/5.503, allocations: 0.6422 MB / 3.272 GB, free: 153 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/5.503, allocations: 12.03 kB / 3.272 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/5.504, allocations: 167.3 kB / 3.272 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/5.505, allocations: 346.3 kB / 3.272 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/5.505, allocations: 8 kB / 3.272 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/5.505, allocations: 12 kB / 3.272 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003295/5.505, allocations: 208.9 kB / 3.273 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/5.505, allocations: 266.3 kB / 3.273 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/5.505, allocations: 4 kB / 3.273 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/5.505, allocations: 0 / 3.273 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/5.505, allocations: 4 kB / 3.273 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/5.507, allocations: 1.106 MB / 3.274 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/5.507, allocations: 223.1 kB / 3.274 GB, free: 150.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/5.507, allocations: 113.2 kB / 3.274 GB, free: 150.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/5.508, allocations: 477.6 kB / 3.275 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/5.508, allocations: 34.75 kB / 3.275 GB, free: 149.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/5.508, allocations: 0 / 3.275 GB, free: 149.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0008857/5.509, allocations: 258.9 kB / 3.275 GB, free: 149.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.95e-05/5.509, allocations: 63.28 kB / 3.275 GB, free: 149.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/5.509, allocations: 209 kB / 3.275 GB, free: 149.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/5.509, allocations: 29.7 kB / 3.275 GB, free: 149.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/5.509, allocations: 140.4 kB / 3.275 GB, free: 149.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/5.509, allocations: 70.86 kB / 3.275 GB, free: 149 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/5.509, allocations: 0 / 3.275 GB, free: 149 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.964e-05/5.509, allocations: 334.8 kB / 3.276 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/5.509, allocations: 52.8 kB / 3.276 GB, free: 148.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/5.509, allocations: 112.1 kB / 3.276 GB, free: 148.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/5.509, allocations: 107.5 kB / 3.276 GB, free: 148.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/5.509, allocations: 0 / 3.276 GB, free: 148.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003795/5.51, allocations: 233.1 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/5.51, allocations: 4.094 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/5.51, allocations: 8 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/5.51, allocations: 4.031 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/5.51, allocations: 51.91 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/5.51, allocations: 3.906 kB / 3.276 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/5.51, allocations: 31.94 kB / 3.276 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/5.51, allocations: 16 kB / 3.276 GB, free: 148 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 7.414e-05/5.51, allocations: 112.9 kB / 3.276 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/5.511, allocations: 23.72 kB / 3.277 GB, free: 147.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/5.511, allocations: 227.5 kB / 3.277 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.511, allocations: 4 kB / 3.277 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/5.511, allocations: 4 kB / 3.277 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.391e-06/5.511, allocations: 3.984 kB / 3.277 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008812/5.512, allocations: 0.7183 MB / 3.277 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/5.512, allocations: 4 kB / 3.277 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/5.512, allocations: 39.98 kB / 3.277 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/5.512, allocations: 4.344 kB / 3.277 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/5.512, allocations: 15.94 kB / 3.278 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/5.512, allocations: 7.984 kB / 3.278 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.512, allocations: 3.906 kB / 3.278 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005853/5.513, allocations: 0.5878 MB / 3.278 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/5.513, allocations: 116.8 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/5.513, allocations: 7.906 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/5.513, allocations: 27.98 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/5.513, allocations: 23.91 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/5.513, allocations: 12 kB / 3.278 GB, free: 145.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001248/5.513, allocations: 157.2 kB / 3.278 GB, free: 145.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006187/5.514, allocations: 151.8 kB / 3.279 GB, free: 145.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.001647/5.516, allocations: 1.19 MB / 3.28 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002773/5.516, allocations: 144 kB / 3.28 GB, free: 144.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/5.516, allocations: 0 / 3.28 GB, free: 144.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/5.516, allocations: 87.8 kB / 3.28 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/5.517, allocations: 119.8 kB / 3.28 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007829/5.517, allocations: 448.4 kB / 3.28 GB, free: 143.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/5.518, allocations: 0.8219 MB / 3.281 GB, free: 142.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/5.518, allocations: 4 kB / 3.281 GB, free: 142.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01477/5.533, allocations: 10.39 MB / 3.291 GB, free: 132.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)