Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) [: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.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.001127/0.001127, allocations: 181.2 kB / 366.3 MB, free: 1.926 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.559/1.559, allocations: 205.1 MB / 0.6256 GB, free: 7.406 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.0009394/0.0009395, allocations: 82.03 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2986/0.2996, allocations: 122.4 MB / 0.8591 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/1.031, allocations: 116.3 MB / 0.9726 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.3/5.331, allocations: 2.093 GB / 3.066 GB, free: 30.63 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/5.332, allocations: 86.17 kB / 3.066 GB, free: 30.55 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 4.689/10.02, allocations: 1.281 GB / 4.347 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/10.02, allocations: 11.12 kB / 4.347 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/10.02, allocations: 392.1 kB / 4.347 GB, free: 156.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/10.03, allocations: 1.152 MB / 4.348 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/10.03, allocations: 44.84 kB / 4.348 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/10.03, allocations: 83.11 kB / 4.348 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002023/10.03, allocations: 1.136 MB / 4.349 GB, free: 156.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/10.03, allocations: 1.34 MB / 4.351 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/10.03, allocations: 0 / 4.351 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/10.03, allocations: 3.469 kB / 4.351 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/10.03, allocations: 48.53 kB / 4.351 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007854/10.04, allocations: 6.397 MB / 4.357 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007564/10.04, allocations: 0.5993 MB / 4.358 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/10.04, allocations: 403.6 kB / 4.358 GB, free: 152.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/10.04, allocations: 419.9 kB / 4.358 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/10.04, allocations: 37.72 kB / 4.358 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/10.04, allocations: 0 / 4.358 GB, free: 152.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002598/10.04, allocations: 1.055 MB / 4.359 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/10.04, allocations: 61.66 kB / 4.359 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/10.04, allocations: 0.7346 MB / 4.36 GB, free: 152 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/10.04, allocations: 29.08 kB / 4.36 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/10.04, allocations: 0.551 MB / 4.361 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/10.04, allocations: 251.7 kB / 4.361 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/10.04, allocations: 0 / 4.361 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001327/10.05, allocations: 346 kB / 4.361 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/10.05, allocations: 330.6 kB / 4.362 GB, free: 151.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/10.05, allocations: 0.7061 MB / 4.362 GB, free: 150.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/10.05, allocations: 0.5827 MB / 4.363 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/10.05, allocations: 0 / 4.363 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002461/10.05, allocations: 1.273 MB / 4.364 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/10.05, allocations: 3.031 kB / 4.364 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/10.05, allocations: 9.094 kB / 4.364 GB, free: 150.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/10.05, allocations: 147.7 kB / 4.364 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/10.05, allocations: 198.7 kB / 4.365 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/10.05, allocations: 4.544 MB / 4.369 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/10.06, allocations: 115.7 kB / 4.369 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/10.06, allocations: 48.58 kB / 4.369 GB, free: 146.6 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.0002425/10.06, allocations: 140.8 kB / 4.369 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/10.06, allocations: 115.9 kB / 4.369 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/10.06, allocations: 1.112 MB / 4.37 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/10.06, allocations: 7.719 kB / 4.37 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/10.06, allocations: 0 / 4.37 GB, free: 146.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001551/10.06, allocations: 1.01 MB / 4.371 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/10.07, allocations: 2.312 MB / 4.374 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/10.07, allocations: 6.531 kB / 4.374 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007795/10.07, allocations: 136.9 kB / 4.374 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/10.07, allocations: 137 kB / 4.374 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/10.07, allocations: 9.875 kB / 4.374 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/10.07, allocations: 4.529 MB / 4.378 GB, free: 141.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/10.07, allocations: 12.44 kB / 4.378 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002888/10.07, allocations: 1.699 MB / 4.38 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003497/10.08, allocations: 2.695 MB / 4.383 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/10.08, allocations: 282.1 kB / 4.383 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/10.08, allocations: 16.23 kB / 4.383 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/10.08, allocations: 47.36 kB / 4.383 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/10.08, allocations: 45.64 kB / 4.383 GB, free: 139 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/10.08, allocations: 27.59 kB / 4.383 GB, free: 139 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0008845/10.08, allocations: 0.5639 MB / 4.384 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003902/10.08, allocations: 0.925 MB / 4.385 GB, free: 138.2 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.004448/10.09, allocations: 2.689 MB / 4.387 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001993/10.09, allocations: 1.111 MB / 4.388 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/10.09, allocations: 2.875 kB / 4.388 GB, free: 136.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/10.09, allocations: 0.6714 MB / 4.389 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/10.09, allocations: 0.5689 MB / 4.389 GB, free: 136.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/10.1, allocations: 2.06 MB / 4.391 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/10.1, allocations: 1.48 MB / 4.393 GB, free: 134.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.9e-07/10.1, allocations: 0 / 4.393 GB, free: 134.5 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)