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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001046/0.001046, allocations: 185.3 kB / 361.1 MB, free: 7.09 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.195/1.195, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0009858/0.0009858, allocations: 85.97 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1948/0.1958, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.6712, allocations: 115.3 MB / 0.9638 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.949/3.62, allocations: 2.092 GB / 3.056 GB, free: 63.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/3.62, allocations: 87.95 kB / 3.056 GB, free: 63.38 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.044/7.664, allocations: 1.281 GB / 4.337 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/7.664, allocations: 11.16 kB / 4.337 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/7.667, allocations: 386.8 kB / 4.337 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/7.671, allocations: 1.153 MB / 4.338 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.364e-05/7.671, allocations: 42.25 kB / 4.338 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005595/7.672, allocations: 83.88 kB / 4.338 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002981/7.675, allocations: 1.136 MB / 4.34 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/7.678, allocations: 1.335 MB / 4.341 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/7.678, allocations: 0 / 4.341 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/7.678, allocations: 3.188 kB / 4.341 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/7.678, allocations: 60.2 kB / 4.341 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008268/7.687, allocations: 6.416 MB / 4.347 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/7.687, allocations: 0.5984 MB / 4.348 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/7.688, allocations: 397.3 kB / 4.348 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/7.689, allocations: 419.5 kB / 4.349 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/7.689, allocations: 49.66 kB / 4.349 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.547e-06/7.689, allocations: 0 / 4.349 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.00283/7.692, allocations: 1.044 MB / 4.35 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/7.692, allocations: 62.16 kB / 4.35 GB, free: 139.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/7.693, allocations: 0.7389 MB / 4.35 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/7.693, allocations: 29.52 kB / 4.35 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/7.693, allocations: 0.55 MB / 4.351 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/7.694, allocations: 257.6 kB / 4.351 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/7.694, allocations: 0 / 4.351 GB, free: 138.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001484/7.694, allocations: 342.4 kB / 4.352 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/7.694, allocations: 327.5 kB / 4.352 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/7.695, allocations: 0.7056 MB / 4.353 GB, free: 138 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/7.696, allocations: 0.5735 MB / 4.353 GB, free: 138 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/7.696, allocations: 3.375 kB / 4.353 GB, free: 138 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002197/7.698, allocations: 1.273 MB / 4.354 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/7.698, allocations: 3.781 kB / 4.354 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/7.698, allocations: 10.25 kB / 4.354 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/7.699, allocations: 154 kB / 4.354 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/7.7, allocations: 196.7 kB / 4.355 GB, free: 137.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/7.703, allocations: 4.548 MB / 4.359 GB, free: 134 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/7.704, allocations: 123.1 kB / 4.359 GB, free: 133.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/7.704, allocations: 48.31 kB / 4.359 GB, free: 133.9 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.0002018/7.705, allocations: 135.5 kB / 4.359 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/7.705, allocations: 115.4 kB / 4.36 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/7.707, allocations: 1.106 MB / 4.361 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/7.707, allocations: 7.312 kB / 4.361 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/7.707, allocations: 0 / 4.361 GB, free: 133.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/7.708, allocations: 1.008 MB / 4.362 GB, free: 133.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/7.712, allocations: 2.317 MB / 4.364 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/7.712, allocations: 3.469 kB / 4.364 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/7.713, allocations: 132.1 kB / 4.364 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/7.713, allocations: 131.6 kB / 4.364 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/7.713, allocations: 15.28 kB / 4.364 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/7.717, allocations: 4.527 MB / 4.369 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/7.717, allocations: 6.438 kB / 4.369 GB, free: 129.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003139/7.72, allocations: 1.717 MB / 4.37 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004511/7.724, allocations: 2.685 MB / 4.373 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/7.726, allocations: 293.2 kB / 4.373 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/7.726, allocations: 5.969 kB / 4.373 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/7.727, allocations: 50.28 kB / 4.373 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.415e-05/7.727, allocations: 43.59 kB / 4.373 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/7.727, allocations: 27.06 kB / 4.373 GB, free: 127.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.00101/7.728, allocations: 0.5707 MB / 4.374 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0045/7.732, allocations: 0.9202 MB / 4.375 GB, free: 127.4 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.003279/7.736, allocations: 2.684 MB / 4.377 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001547/7.737, allocations: 1.107 MB / 4.378 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/7.737, allocations: 3.625 kB / 4.378 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007145/7.738, allocations: 0.6777 MB / 4.379 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/7.741, allocations: 0.5626 MB / 4.38 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/7.745, allocations: 2.058 MB / 4.382 GB, free: 125.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/7.746, allocations: 1.481 MB / 4.383 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of SimCode: time 2.71e-07/7.746, allocations: 0 / 4.383 GB, free: 124.6 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)