Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.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.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.558/1.558, allocations: 285.5 MB / 292.8 MB, free: 9.832 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.001254/0.001254, allocations: 185.2 kB / 361.1 MB, free: 364 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 0.6195 GB, free: 2.82 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008795/0.0008793, allocations: 86.86 kB / 0.7326 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.193e-05, allocations: 2.406 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 115.3 MB / 0.9637 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.46/4.718, allocations: 2.092 GB / 3.056 GB, free: 169 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004073/4.719, allocations: 89.36 kB / 3.056 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.082/9.801, allocations: 1.279 GB / 4.335 GB, free: 153.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001911/9.801, allocations: 42.09 kB / 4.335 GB, free: 153.8 MB / 0.9636 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.006188/9.807, allocations: 1.824 MB / 4.337 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/9.807, allocations: 13.8 kB / 4.337 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/9.81, allocations: 391.1 kB / 4.337 GB, free: 153.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/9.814, allocations: 1.143 MB / 4.338 GB, free: 153 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/9.814, allocations: 45.28 kB / 4.338 GB, free: 153 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005439/9.815, allocations: 81.22 kB / 4.338 GB, free: 153 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002791/9.818, allocations: 1.14 MB / 4.339 GB, free: 153 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/9.821, allocations: 1.337 MB / 4.341 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/9.821, allocations: 4.219 kB / 4.341 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/9.821, allocations: 6.5 kB / 4.341 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/9.821, allocations: 49.7 kB / 4.341 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009022/9.83, allocations: 6.409 MB / 4.347 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/9.831, allocations: 0.6003 MB / 4.348 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/9.831, allocations: 401.7 kB / 4.348 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006545/9.832, allocations: 416.8 kB / 4.348 GB, free: 149 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/9.832, allocations: 40.75 kB / 4.348 GB, free: 149 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/9.832, allocations: 0 / 4.348 GB, free: 149 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002727/9.835, allocations: 1.056 MB / 4.35 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/9.835, allocations: 59.53 kB / 4.35 GB, free: 148.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/9.836, allocations: 0.7375 MB / 4.35 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/9.836, allocations: 28.77 kB / 4.35 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/9.837, allocations: 0.5494 MB / 4.351 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/9.837, allocations: 260.7 kB / 4.351 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/9.837, allocations: 0 / 4.351 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/9.837, allocations: 343.1 kB / 4.351 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/9.837, allocations: 327.5 kB / 4.352 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006912/9.838, allocations: 0.6981 MB / 4.352 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/9.839, allocations: 0.5855 MB / 4.353 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/9.839, allocations: 3.969 kB / 4.353 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002238/9.842, allocations: 1.273 MB / 4.354 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/9.842, allocations: 7.469 kB / 4.354 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/9.842, allocations: 10.73 kB / 4.354 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/9.842, allocations: 141.7 kB / 4.354 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007818/9.843, allocations: 201.7 kB / 4.355 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/9.846, allocations: 4.547 MB / 4.359 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/9.847, allocations: 125 kB / 4.359 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/9.847, allocations: 49.38 kB / 4.359 GB, free: 143.5 MB / 0.9636 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.0002368/9.848, allocations: 131.8 kB / 4.359 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/9.848, allocations: 115.1 kB / 4.359 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/9.85, allocations: 1.106 MB / 4.361 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/9.85, allocations: 10.03 kB / 4.361 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/9.85, allocations: 0 / 4.361 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/9.851, allocations: 1.011 MB / 4.362 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00435/9.856, allocations: 2.311 MB / 4.364 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/9.856, allocations: 3.812 kB / 4.364 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/9.857, allocations: 134.8 kB / 4.364 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/9.857, allocations: 136.4 kB / 4.364 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/9.857, allocations: 12.56 kB / 4.364 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/9.86, allocations: 4.528 MB / 4.368 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/9.86, allocations: 3.906 kB / 4.368 GB, free: 138.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002344/9.862, allocations: 1.713 MB / 4.37 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007835/9.863, allocations: 290.2 kB / 4.37 GB, free: 138 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/9.863, allocations: 7.469 kB / 4.37 GB, free: 138 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/9.865, allocations: 53.2 kB / 4.37 GB, free: 138 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/9.865, allocations: 42.38 kB / 4.371 GB, free: 138 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/9.865, allocations: 29.78 kB / 4.371 GB, free: 138 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009465/9.866, allocations: 0.5656 MB / 4.371 GB, free: 137.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00277/9.868, allocations: 0.6082 MB / 4.372 GB, free: 137.9 MB / 0.9636 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.003925/9.872, allocations: 2.697 MB / 4.374 GB, free: 137 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001778/9.874, allocations: 1.105 MB / 4.375 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/9.874, allocations: 3.312 kB / 4.375 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/9.875, allocations: 0.6706 MB / 4.376 GB, free: 136.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/9.878, allocations: 0.5647 MB / 4.377 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/9.883, allocations: 2.056 MB / 4.379 GB, free: 135.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/9.885, allocations: 1.467 MB / 4.38 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.182e-06/9.885, allocations: 0 / 4.38 GB, free: 135.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.05864/9.943, allocations: 35.85 MB / 4.415 GB, free: 134.3 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)