Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.481/1.481, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001456/0.001456, allocations: 173.3 kB / 361.1 MB, free: 7.129 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.302/1.302, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008147/0.0008147, allocations: 94.08 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.286e-06, allocations: 4 kB / 0.8511 GB, free: 3.016 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5739, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.72/4.294, allocations: 2.061 GB / 3.024 GB, free: 76.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/4.295, allocations: 84.89 kB / 3.024 GB, free: 75.94 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9562/5.251, allocations: 242.7 MB / 3.261 GB, free: 217.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.347e-05/5.251, allocations: 12 kB / 3.261 GB, free: 217.9 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.001449/5.252, allocations: 0.6423 MB / 3.262 GB, free: 217.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/5.252, allocations: 8.531 kB / 3.262 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/5.254, allocations: 171.3 kB / 3.262 GB, free: 217 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/5.254, allocations: 346.2 kB / 3.263 GB, free: 216.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/5.254, allocations: 8 kB / 3.263 GB, free: 216.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/5.254, allocations: 12 kB / 3.263 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003493/5.255, allocations: 208.9 kB / 3.263 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/5.255, allocations: 262.4 kB / 3.263 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/5.255, allocations: 7.938 kB / 3.263 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/5.255, allocations: 0 / 3.263 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/5.255, allocations: 4 kB / 3.263 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/5.257, allocations: 1.104 MB / 3.264 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/5.257, allocations: 231.1 kB / 3.264 GB, free: 214.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/5.257, allocations: 113.2 kB / 3.264 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/5.258, allocations: 469.7 kB / 3.265 GB, free: 214.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/5.258, allocations: 42.75 kB / 3.265 GB, free: 214 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/5.258, allocations: 0 / 3.265 GB, free: 214 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0009296/5.259, allocations: 262.8 kB / 3.265 GB, free: 213.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/5.259, allocations: 59.34 kB / 3.265 GB, free: 213.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/5.259, allocations: 197 kB / 3.265 GB, free: 213.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/5.259, allocations: 29.7 kB / 3.265 GB, free: 213.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/5.259, allocations: 148.3 kB / 3.266 GB, free: 213.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/5.259, allocations: 66.95 kB / 3.266 GB, free: 213.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/5.259, allocations: 0 / 3.266 GB, free: 213.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/5.259, allocations: 342.7 kB / 3.266 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/5.259, allocations: 48.8 kB / 3.266 GB, free: 212.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/5.259, allocations: 119.5 kB / 3.266 GB, free: 212.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/5.259, allocations: 99.89 kB / 3.266 GB, free: 212.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.259, allocations: 0 / 3.266 GB, free: 212.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004162/5.26, allocations: 229.2 kB / 3.266 GB, free: 212.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/5.26, allocations: 4 kB / 3.266 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/5.26, allocations: 4 kB / 3.266 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/5.26, allocations: 8.094 kB / 3.266 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/5.26, allocations: 47.92 kB / 3.266 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/5.26, allocations: 7.984 kB / 3.266 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/5.26, allocations: 27.83 kB / 3.267 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/5.26, allocations: 8 kB / 3.267 GB, free: 212.3 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.056e-05/5.261, allocations: 112.8 kB / 3.267 GB, free: 212.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/5.261, allocations: 23.72 kB / 3.267 GB, free: 212.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/5.261, allocations: 231.5 kB / 3.267 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/5.261, allocations: 4 kB / 3.267 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/5.261, allocations: 3.906 kB / 3.267 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/5.261, allocations: 3.938 kB / 3.267 GB, free: 211.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/5.262, allocations: 0.7224 MB / 3.268 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/5.262, allocations: 8.062 kB / 3.268 GB, free: 211.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/5.262, allocations: 47.91 kB / 3.268 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/5.262, allocations: 4 kB / 3.268 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/5.262, allocations: 8.328 kB / 3.268 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/5.262, allocations: 8 kB / 3.268 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/5.262, allocations: 7.938 kB / 3.268 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005539/5.263, allocations: 0.5908 MB / 3.268 GB, free: 210.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.385e-05/5.263, allocations: 108.8 kB / 3.268 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/5.263, allocations: 7.984 kB / 3.268 GB, free: 210.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/5.263, allocations: 27.89 kB / 3.268 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/5.263, allocations: 15.98 kB / 3.268 GB, free: 210.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/5.263, allocations: 8 kB / 3.268 GB, free: 210.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001049/5.263, allocations: 165.2 kB / 3.269 GB, free: 210 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006189/5.264, allocations: 155.8 kB / 3.269 GB, free: 209.8 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.001455/5.266, allocations: 1.176 MB / 3.27 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002693/5.266, allocations: 152 kB / 3.27 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/5.266, allocations: 4 kB / 3.27 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/5.266, allocations: 79.86 kB / 3.27 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/5.267, allocations: 128.5 kB / 3.27 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008017/5.267, allocations: 456.3 kB / 3.271 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/5.268, allocations: 0.8227 MB / 3.271 GB, free: 206.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/5.268, allocations: 0 / 3.271 GB, free: 206.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01573/5.283, allocations: 10.38 MB / 3.282 GB, free: 196.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)