Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.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.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") [: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.314/2.314, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001704/0.001703, allocations: 181.3 kB / 360.4 MB, free: 7.504 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.79/1.79, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001298/0.001297, allocations: 91.75 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.295e-05/1.313e-05, allocations: 0 / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6059/0.6059, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/5.97, allocations: 2.092 GB / 3.055 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/5.971, allocations: 82.77 kB / 3.055 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.743/11.71, allocations: 1.279 GB / 4.334 GB, free: 102.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001711/11.71, allocations: 43.12 kB / 4.334 GB, free: 102.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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.007002/11.72, allocations: 1.817 MB / 4.336 GB, free: 100.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/11.72, allocations: 8.531 kB / 4.336 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/11.72, allocations: 392.7 kB / 4.336 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004069/11.73, allocations: 1.147 MB / 4.337 GB, free: 99.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/11.73, allocations: 43.98 kB / 4.337 GB, free: 99.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/11.73, allocations: 83.91 kB / 4.337 GB, free: 99.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00325/11.73, allocations: 1.141 MB / 4.338 GB, free: 98.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/11.74, allocations: 1.334 MB / 4.34 GB, free: 96.64 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/11.74, allocations: 3.422 kB / 4.34 GB, free: 96.64 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/11.74, allocations: 7.938 kB / 4.34 GB, free: 96.63 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.116e-05/11.74, allocations: 46.45 kB / 4.34 GB, free: 96.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/11.75, allocations: 6.42 MB / 4.346 GB, free: 89.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/11.75, allocations: 0.6023 MB / 4.347 GB, free: 89.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008504/11.75, allocations: 395.3 kB / 4.347 GB, free: 88.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/11.75, allocations: 418.2 kB / 4.347 GB, free: 88.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/11.75, allocations: 43.22 kB / 4.347 GB, free: 88.36 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.256e-06/11.75, allocations: 3.938 kB / 4.347 GB, free: 88.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.004208/11.76, allocations: 1.051 MB / 4.348 GB, free: 87.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/11.76, allocations: 60.06 kB / 4.349 GB, free: 87.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/11.76, allocations: 0.7375 MB / 4.349 GB, free: 86.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/11.76, allocations: 25.7 kB / 4.349 GB, free: 86.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/11.76, allocations: 0.545 MB / 4.35 GB, free: 85.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/11.76, allocations: 260.2 kB / 4.35 GB, free: 85.62 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/11.76, allocations: 3.938 kB / 4.35 GB, free: 85.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/11.76, allocations: 345.9 kB / 4.35 GB, free: 85.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/11.76, allocations: 321.9 kB / 4.351 GB, free: 84.96 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/11.76, allocations: 0.7092 MB / 4.351 GB, free: 84.08 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/11.76, allocations: 0.5728 MB / 4.352 GB, free: 83.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.537e-06/11.76, allocations: 4 kB / 4.352 GB, free: 83.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003919/11.77, allocations: 1.269 MB / 4.353 GB, free: 82.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/11.77, allocations: 8 kB / 4.353 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/11.77, allocations: 8 kB / 4.353 GB, free: 82.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/11.77, allocations: 146.7 kB / 4.353 GB, free: 82.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/11.77, allocations: 199.7 kB / 4.354 GB, free: 81.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/11.77, allocations: 4.55 MB / 4.358 GB, free: 76.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/11.78, allocations: 123 kB / 4.358 GB, free: 76.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/11.78, allocations: 51.98 kB / 4.358 GB, free: 76.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002812/11.78, allocations: 132.7 kB / 4.358 GB, free: 76.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/11.78, allocations: 114.6 kB / 4.358 GB, free: 76.55 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/11.78, allocations: 1.112 MB / 4.359 GB, free: 75.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/11.78, allocations: 11.91 kB / 4.359 GB, free: 75.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/11.78, allocations: 4 kB / 4.359 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/11.78, allocations: 1.002 MB / 4.36 GB, free: 74.33 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/11.79, allocations: 2.317 MB / 4.363 GB, free: 71.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/11.79, allocations: 4 kB / 4.363 GB, free: 71.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/11.79, allocations: 136.1 kB / 4.363 GB, free: 71.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/11.79, allocations: 130.5 kB / 4.363 GB, free: 71.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/11.79, allocations: 11.98 kB / 4.363 GB, free: 71.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004236/11.79, allocations: 4.527 MB / 4.367 GB, free: 66.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/11.79, allocations: 4 kB / 4.367 GB, free: 66.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003956/11.8, allocations: 1.712 MB / 4.369 GB, free: 64.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/11.8, allocations: 287.5 kB / 4.369 GB, free: 64.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/11.8, allocations: 11.91 kB / 4.369 GB, free: 64.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/11.8, allocations: 47.89 kB / 4.369 GB, free: 64.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/11.8, allocations: 44.34 kB / 4.369 GB, free: 64.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/11.8, allocations: 24 kB / 4.369 GB, free: 64.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001199/11.8, allocations: 0.5695 MB / 4.37 GB, free: 63.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003391/11.81, allocations: 0.6042 MB / 4.371 GB, free: 63.37 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004733/11.81, allocations: 2.701 MB / 4.373 GB, free: 60.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002733/11.81, allocations: 1.121 MB / 4.374 GB, free: 59.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/11.81, allocations: 0 / 4.374 GB, free: 59.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/11.81, allocations: 0.6644 MB / 4.375 GB, free: 58.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/11.82, allocations: 0.5582 MB / 4.376 GB, free: 58.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006143/11.83, allocations: 2.054 MB / 4.378 GB, free: 56.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/11.83, allocations: 1.473 MB / 4.379 GB, free: 54.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/11.83, allocations: 0 / 4.379 GB, free: 54.79 MB / 0.948 GB Notification: Performance of Templates: time 0.08832/11.92, allocations: 35.85 MB / 4.414 GB, free: 19.32 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)