Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.335/2.335, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 185.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 96.38 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.252e-05/1.265e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6488, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.525, allocations: 2.06 GB / 3.023 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/5.525, allocations: 83.92 kB / 3.023 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.7748/6.3, allocations: 242.7 MB / 3.26 GB, free: 95.19 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.293e-05/6.3, allocations: 7.984 kB / 3.26 GB, free: 95.18 MB / 0.9323 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.001342/6.302, allocations: 0.6344 MB / 3.261 GB, free: 94.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/6.302, allocations: 16.53 kB / 3.261 GB, free: 94.48 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/6.304, allocations: 175.3 kB / 3.261 GB, free: 94.31 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/6.304, allocations: 346.2 kB / 3.261 GB, free: 93.93 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/6.304, allocations: 7.984 kB / 3.261 GB, free: 93.93 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/6.304, allocations: 16 kB / 3.261 GB, free: 93.91 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000654/6.305, allocations: 204.9 kB / 3.262 GB, free: 93.71 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/6.306, allocations: 270.3 kB / 3.262 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/6.306, allocations: 0 / 3.262 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/6.306, allocations: 0 / 3.262 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/6.306, allocations: 8 kB / 3.262 GB, free: 93.43 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/6.308, allocations: 1.109 MB / 3.263 GB, free: 92.23 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/6.308, allocations: 225.6 kB / 3.263 GB, free: 92 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/6.309, allocations: 109.2 kB / 3.263 GB, free: 91.89 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008457/6.31, allocations: 477.6 kB / 3.264 GB, free: 91.34 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/6.31, allocations: 34.75 kB / 3.264 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=21): time 2.895e-06/6.31, allocations: 0 / 3.264 GB, free: 91.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=21): time 0.001491/6.311, allocations: 274.9 kB / 3.264 GB, free: 91.02 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/6.311, allocations: 59.34 kB / 3.264 GB, free: 90.95 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/6.311, allocations: 197 kB / 3.264 GB, free: 90.75 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/6.311, allocations: 29.7 kB / 3.264 GB, free: 90.71 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/6.312, allocations: 148.3 kB / 3.265 GB, free: 90.57 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/6.312, allocations: 70.91 kB / 3.265 GB, free: 90.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/6.312, allocations: 0 / 3.265 GB, free: 90.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/6.312, allocations: 334.8 kB / 3.265 GB, free: 90.16 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/6.312, allocations: 44.81 kB / 3.265 GB, free: 90.12 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/6.312, allocations: 122.2 kB / 3.265 GB, free: 89.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/6.313, allocations: 99.83 kB / 3.265 GB, free: 89.88 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/6.313, allocations: 4 kB / 3.265 GB, free: 89.88 MB / 0.9323 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007068/6.313, allocations: 231.5 kB / 3.265 GB, free: 89.64 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/6.313, allocations: 4 kB / 3.265 GB, free: 89.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/6.313, allocations: 8.031 kB / 3.265 GB, free: 89.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/6.313, allocations: 4 kB / 3.265 GB, free: 89.63 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/6.314, allocations: 51.91 kB / 3.265 GB, free: 89.58 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/6.314, allocations: 3.906 kB / 3.265 GB, free: 89.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/6.314, allocations: 31.83 kB / 3.265 GB, free: 89.54 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/6.315, allocations: 12 kB / 3.265 GB, free: 89.53 MB / 0.9323 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 0.0001278/6.315, allocations: 111 kB / 3.266 GB, free: 89.42 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/6.315, allocations: 27.72 kB / 3.266 GB, free: 89.39 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/6.316, allocations: 231.6 kB / 3.266 GB, free: 89.16 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/6.316, allocations: 4 kB / 3.266 GB, free: 89.16 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/6.316, allocations: 0 / 3.266 GB, free: 89.16 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/6.316, allocations: 4 kB / 3.266 GB, free: 89.15 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/6.319, allocations: 0.7145 MB / 3.267 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/6.319, allocations: 0 / 3.267 GB, free: 88.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/6.319, allocations: 51.91 kB / 3.267 GB, free: 88.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/6.32, allocations: 4 kB / 3.267 GB, free: 88.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/6.32, allocations: 4.344 kB / 3.267 GB, free: 88.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/6.32, allocations: 8 kB / 3.267 GB, free: 88.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/6.32, allocations: 7.906 kB / 3.267 GB, free: 88.29 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001544/6.321, allocations: 0.5958 MB / 3.267 GB, free: 87.57 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/6.321, allocations: 116.8 kB / 3.267 GB, free: 87.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/6.322, allocations: 11.84 kB / 3.267 GB, free: 87.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/6.322, allocations: 24.05 kB / 3.267 GB, free: 87.41 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/6.322, allocations: 19.92 kB / 3.267 GB, free: 87.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/6.322, allocations: 8 kB / 3.267 GB, free: 87.38 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.000272/6.323, allocations: 169.2 kB / 3.268 GB, free: 87.21 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00122/6.324, allocations: 147.8 kB / 3.268 GB, free: 87.07 MB / 0.9323 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.002694/6.327, allocations: 1.186 MB / 3.269 GB, free: 85.88 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007163/6.327, allocations: 144 kB / 3.269 GB, free: 85.74 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/6.327, allocations: 3.938 kB / 3.269 GB, free: 85.74 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/6.328, allocations: 83.86 kB / 3.269 GB, free: 85.66 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/6.33, allocations: 131.1 kB / 3.269 GB, free: 85.54 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/6.332, allocations: 452.2 kB / 3.27 GB, free: 85.04 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/6.332, allocations: 0.8146 MB / 3.27 GB, free: 84.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/6.332, allocations: 4 kB / 3.27 GB, free: 84.19 MB / 0.9323 GB Notification: Performance of Templates: time 0.02665/6.359, allocations: 10.38 MB / 3.281 GB, free: 73.88 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)