Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.425/2.425, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001668/0.001668, allocations: 185.2 kB / 360.3 MB, free: 7.535 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.956/1.956, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001387/0.001386, allocations: 91.52 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2839/0.2854, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.9594, allocations: 115.2 MB / 0.9627 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.398/6.357, allocations: 2.092 GB / 3.055 GB, free: 268.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/6.358, allocations: 79.14 kB / 3.055 GB, free: 268.2 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 6.244/12.6, allocations: 1.281 GB / 4.336 GB, free: 73.29 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/12.6, allocations: 8.5 kB / 4.336 GB, free: 73.28 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/12.61, allocations: 389.5 kB / 4.336 GB, free: 72.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/12.61, allocations: 1.152 MB / 4.337 GB, free: 71.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/12.61, allocations: 43.91 kB / 4.337 GB, free: 71.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/12.61, allocations: 84 kB / 4.337 GB, free: 71.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003547/12.61, allocations: 1.137 MB / 4.338 GB, free: 70.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/12.62, allocations: 1.336 MB / 4.34 GB, free: 69.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/12.62, allocations: 4 kB / 4.34 GB, free: 69.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/12.62, allocations: 0 / 4.34 GB, free: 69.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/12.62, allocations: 46.45 kB / 4.34 GB, free: 68.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/12.63, allocations: 6.422 MB / 4.346 GB, free: 62.14 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/12.63, allocations: 0.5947 MB / 4.347 GB, free: 61.54 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/12.64, allocations: 404 kB / 4.347 GB, free: 61.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/12.64, allocations: 413.5 kB / 4.347 GB, free: 60.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/12.64, allocations: 51.16 kB / 4.347 GB, free: 60.61 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.108e-06/12.64, allocations: 0 / 4.347 GB, free: 60.61 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.004089/12.64, allocations: 1.047 MB / 4.348 GB, free: 59.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/12.64, allocations: 60.06 kB / 4.348 GB, free: 59.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/12.64, allocations: 0.7453 MB / 4.349 GB, free: 58.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/12.64, allocations: 25.7 kB / 4.349 GB, free: 58.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/12.64, allocations: 0.5487 MB / 4.35 GB, free: 58.12 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000338/12.64, allocations: 256.2 kB / 4.35 GB, free: 57.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/12.64, allocations: 0 / 4.35 GB, free: 57.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.663e-05/12.64, allocations: 345.9 kB / 4.35 GB, free: 57.52 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/12.64, allocations: 325.9 kB / 4.351 GB, free: 57.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/12.65, allocations: 0.7064 MB / 4.351 GB, free: 56.33 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/12.65, allocations: 0.5728 MB / 4.352 GB, free: 55.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/12.65, allocations: 4 kB / 4.352 GB, free: 55.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004539/12.65, allocations: 1.272 MB / 4.353 GB, free: 54.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/12.65, allocations: 9.406 kB / 4.353 GB, free: 54.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/12.65, allocations: 8 kB / 4.353 GB, free: 54.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006741/12.65, allocations: 146.8 kB / 4.353 GB, free: 54.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/12.65, allocations: 199.7 kB / 4.354 GB, free: 54.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005511/12.66, allocations: 4.551 MB / 4.358 GB, free: 49.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004303/12.66, allocations: 119.1 kB / 4.358 GB, free: 49.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004951/12.66, allocations: 48 kB / 4.358 GB, free: 49.04 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.0005537/12.66, allocations: 136.6 kB / 4.358 GB, free: 48.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/12.67, allocations: 114.6 kB / 4.358 GB, free: 48.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/12.67, allocations: 1.1 MB / 4.359 GB, free: 47.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.889e-05/12.67, allocations: 8 kB / 4.359 GB, free: 47.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/12.67, allocations: 4 kB / 4.359 GB, free: 47.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/12.68, allocations: 1.017 MB / 4.36 GB, free: 46.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006222/12.68, allocations: 2.31 MB / 4.363 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/12.68, allocations: 4 kB / 4.363 GB, free: 44.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/12.68, allocations: 132.2 kB / 4.363 GB, free: 44.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/12.68, allocations: 146.5 kB / 4.363 GB, free: 43.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.421e-05/12.68, allocations: 12 kB / 4.363 GB, free: 43.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/12.69, allocations: 4.524 MB / 4.367 GB, free: 39.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.047e-05/12.69, allocations: 7.938 kB / 4.367 GB, free: 39 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004369/12.69, allocations: 1.709 MB / 4.369 GB, free: 37.18 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005694/12.7, allocations: 2.698 MB / 4.372 GB, free: 34.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/12.7, allocations: 283.5 kB / 4.372 GB, free: 34.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/12.7, allocations: 7.984 kB / 4.372 GB, free: 34.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/12.7, allocations: 55.8 kB / 4.372 GB, free: 34.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/12.7, allocations: 40.36 kB / 4.372 GB, free: 33.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.442e-05/12.7, allocations: 31.98 kB / 4.372 GB, free: 33.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001321/12.7, allocations: 0.5617 MB / 4.373 GB, free: 33.37 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005349/12.71, allocations: 0.9206 MB / 4.374 GB, free: 32.45 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.004422/12.71, allocations: 2.676 MB / 4.376 GB, free: 29.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002618/12.72, allocations: 1.113 MB / 4.377 GB, free: 28.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/12.72, allocations: 9.859 kB / 4.377 GB, free: 28.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/12.72, allocations: 0.6715 MB / 4.378 GB, free: 27.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/12.72, allocations: 0.5579 MB / 4.378 GB, free: 27.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/12.73, allocations: 2.066 MB / 4.38 GB, free: 25.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/12.73, allocations: 1.488 MB / 4.382 GB, free: 23.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.903e-06/12.73, allocations: 0 / 4.382 GB, free: 23.5 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)