Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [: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.29/2.29, allocations: 284.9 MB / 292.2 MB, free: 1.445 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002271/0.00227, allocations: 184.1 kB / 360.4 MB, free: 15.65 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 0.6188 GB, free: 6.629 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001256/0.001255, allocations: 93.78 kB / 0.7318 GB, free: 46.93 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.431e-05, allocations: 4 kB / 0.8502 GB, free: 13.72 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6092, allocations: 115.2 MB / 0.9628 GB, free: 86.36 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.412/5.021, allocations: 2.06 GB / 3.023 GB, free: 35.91 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/5.021, allocations: 87.58 kB / 3.023 GB, free: 35.86 MB / 0.9405 GB Notification: Performance of FrontEnd: time 1.18/6.201, allocations: 242.6 MB / 3.26 GB, free: 176.2 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 3.557e-05/6.201, allocations: 11.98 kB / 3.26 GB, free: 176.2 MB / 0.9405 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.001354/6.202, allocations: 0.6363 MB / 3.261 GB, free: 175.5 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/6.203, allocations: 12.02 kB / 3.261 GB, free: 175.5 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/6.205, allocations: 167.3 kB / 3.261 GB, free: 175.3 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/6.205, allocations: 337.8 kB / 3.261 GB, free: 175 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/6.205, allocations: 8 kB / 3.261 GB, free: 175 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/6.205, allocations: 16 kB / 3.261 GB, free: 174.9 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005857/6.206, allocations: 204.8 kB / 3.261 GB, free: 174.8 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/6.207, allocations: 253.8 kB / 3.262 GB, free: 174.5 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/6.207, allocations: 0 / 3.262 GB, free: 174.5 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/6.207, allocations: 0 / 3.262 GB, free: 174.5 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/6.207, allocations: 8 kB / 3.262 GB, free: 174.5 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/6.209, allocations: 1.095 MB / 3.263 GB, free: 173.3 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005723/6.209, allocations: 218.6 kB / 3.263 GB, free: 173.1 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/6.21, allocations: 104.8 kB / 3.263 GB, free: 173 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008324/6.21, allocations: 473.5 kB / 3.263 GB, free: 172.4 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/6.21, allocations: 34.56 kB / 3.264 GB, free: 172.4 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=19): time 3.036e-06/6.21, allocations: 0 / 3.264 GB, free: 172.4 MB / 0.9405 GB Notification: Performance of matching and sorting (n=19): time 0.001435/6.212, allocations: 265.1 kB / 3.264 GB, free: 172.1 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/6.212, allocations: 51.41 kB / 3.264 GB, free: 172.1 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/6.212, allocations: 193.1 kB / 3.264 GB, free: 171.9 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/6.212, allocations: 25.7 kB / 3.264 GB, free: 171.8 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/6.212, allocations: 140.2 kB / 3.264 GB, free: 171.7 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/6.212, allocations: 70.89 kB / 3.264 GB, free: 171.6 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/6.212, allocations: 0 / 3.264 GB, free: 171.6 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/6.212, allocations: 334.8 kB / 3.265 GB, free: 171.3 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/6.213, allocations: 52.3 kB / 3.265 GB, free: 171.2 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/6.213, allocations: 104.4 kB / 3.265 GB, free: 171.1 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/6.213, allocations: 99.88 kB / 3.265 GB, free: 171 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/6.213, allocations: 4 kB / 3.265 GB, free: 171 MB / 0.9405 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006413/6.214, allocations: 225.2 kB / 3.265 GB, free: 170.8 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/6.214, allocations: 4.781 kB / 3.265 GB, free: 170.8 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/6.214, allocations: 4 kB / 3.265 GB, free: 170.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/6.214, allocations: 7.906 kB / 3.265 GB, free: 170.8 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/6.214, allocations: 43.91 kB / 3.265 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/6.214, allocations: 7.938 kB / 3.265 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003591/6.215, allocations: 27.92 kB / 3.265 GB, free: 170.7 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/6.215, allocations: 16 kB / 3.265 GB, free: 170.7 MB / 0.9405 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 8.207e-05/6.215, allocations: 107 kB / 3.265 GB, free: 170.6 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-05/6.215, allocations: 23.72 kB / 3.265 GB, free: 170.5 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/6.216, allocations: 223.9 kB / 3.265 GB, free: 170.3 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/6.216, allocations: 4 kB / 3.265 GB, free: 170.3 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/6.216, allocations: 3.969 kB / 3.265 GB, free: 170.3 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/6.216, allocations: 7.984 kB / 3.265 GB, free: 170.3 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/6.217, allocations: 0.6989 MB / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/6.217, allocations: 0 / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/6.218, allocations: 48.27 kB / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/6.218, allocations: 4 kB / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/6.218, allocations: 8 kB / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/6.218, allocations: 7.984 kB / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/6.218, allocations: 0 / 3.266 GB, free: 169.5 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008776/6.219, allocations: 0.576 MB / 3.267 GB, free: 168.8 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/6.219, allocations: 116.8 kB / 3.267 GB, free: 168.6 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/6.219, allocations: 4 kB / 3.267 GB, free: 168.6 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/6.219, allocations: 19.92 kB / 3.267 GB, free: 168.6 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/6.219, allocations: 23.89 kB / 3.267 GB, free: 168.6 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/6.219, allocations: 12 kB / 3.267 GB, free: 168.6 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0001762/6.219, allocations: 161.2 kB / 3.267 GB, free: 168.4 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.0007925/6.22, allocations: 143.8 kB / 3.267 GB, free: 168.3 MB / 0.9405 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.001792/6.222, allocations: 1.19 MB / 3.268 GB, free: 167.1 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.000422/6.222, allocations: 132.5 kB / 3.269 GB, free: 167 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/6.222, allocations: 0 / 3.269 GB, free: 167 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/6.223, allocations: 80.36 kB / 3.269 GB, free: 166.9 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/6.224, allocations: 127.7 kB / 3.269 GB, free: 166.8 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/6.225, allocations: 443.1 kB / 3.269 GB, free: 166.3 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/6.225, allocations: 0.8176 MB / 3.27 GB, free: 165.4 MB / 0.9405 GB Notification: Performance of SimCode: time 8.02e-07/6.225, allocations: 0 / 3.27 GB, free: 165.4 MB / 0.9405 GB Notification: Performance of Templates: time 0.02594/6.251, allocations: 10.3 MB / 3.28 GB, free: 155.2 MB / 0.9405 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)