Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.094/2.094, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 181.3 kB / 487 MB, free: 5.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 93.89 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6378/0.6388, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.914, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.751/5.665, allocations: 1.938 GB / 3.143 GB, free: 324.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.665, allocations: 86.52 kB / 3.143 GB, free: 324.4 MB / 1.151 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.175/9.84, allocations: 1.303 GB / 4.446 GB, free: 207.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/9.84, allocations: 10.16 kB / 4.446 GB, free: 207.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/9.843, allocations: 413.3 kB / 4.446 GB, free: 207.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/9.845, allocations: 1.171 MB / 4.447 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/9.845, allocations: 45.09 kB / 4.447 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/9.845, allocations: 79.44 kB / 4.447 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001911/9.847, allocations: 1.148 MB / 4.449 GB, free: 206.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/9.849, allocations: 1.34 MB / 4.45 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/9.849, allocations: 2.906 kB / 4.45 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/9.849, allocations: 0 / 4.45 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/9.849, allocations: 51.27 kB / 4.45 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007421/9.857, allocations: 6.592 MB / 4.456 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/9.858, allocations: 0.8634 MB / 4.457 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/9.859, allocations: 450.6 kB / 4.458 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/9.859, allocations: 420.2 kB / 4.458 GB, free: 202.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/9.859, allocations: 45.44 kB / 4.458 GB, free: 202.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.346e-06/9.859, allocations: 3.75 kB / 4.458 GB, free: 202.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005905/9.865, allocations: 2.602 MB / 4.461 GB, free: 202.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/9.865, allocations: 59.66 kB / 4.461 GB, free: 202.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009131/9.866, allocations: 0.719 MB / 4.461 GB, free: 202.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/9.866, allocations: 31.45 kB / 4.461 GB, free: 202.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/9.866, allocations: 0.5277 MB / 4.462 GB, free: 201.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/9.867, allocations: 285.8 kB / 4.462 GB, free: 201.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/9.867, allocations: 0 / 4.462 GB, free: 201.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/9.867, allocations: 350.8 kB / 4.463 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/9.867, allocations: 352.3 kB / 4.463 GB, free: 201.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/9.868, allocations: 0.7001 MB / 4.464 GB, free: 201 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/9.871, allocations: 1.201 MB / 4.465 GB, free: 200.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/9.871, allocations: 7 kB / 4.465 GB, free: 200.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00211/9.873, allocations: 1.326 MB / 4.466 GB, free: 200.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/9.873, allocations: 6.125 kB / 4.466 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/9.873, allocations: 7.5 kB / 4.466 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/9.873, allocations: 148.4 kB / 4.466 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/9.874, allocations: 208.3 kB / 4.466 GB, free: 200.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002925/9.877, allocations: 4.537 MB / 4.471 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/9.879, allocations: 89.42 kB / 4.471 GB, free: 196.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/9.879, allocations: 50.06 kB / 4.471 GB, free: 196.9 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0002339/9.879, allocations: 137 kB / 4.471 GB, free: 196.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/9.879, allocations: 118 kB / 4.471 GB, free: 196.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/9.881, allocations: 1.171 MB / 4.472 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/9.881, allocations: 7.469 kB / 4.472 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/9.881, allocations: 7.734 kB / 4.472 GB, free: 196.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/9.883, allocations: 1.16 MB / 4.474 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/9.888, allocations: 3.008 MB / 4.476 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/9.888, allocations: 7.312 kB / 4.476 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/9.889, allocations: 149.9 kB / 4.477 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/9.889, allocations: 150 kB / 4.477 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/9.889, allocations: 18.33 kB / 4.477 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/9.892, allocations: 4.535 MB / 4.481 GB, free: 191.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/9.892, allocations: 10.53 kB / 4.481 GB, free: 191.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00261/9.895, allocations: 2.103 MB / 4.483 GB, free: 190.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003484/9.898, allocations: 3.124 MB / 4.486 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/9.899, allocations: 284.4 kB / 4.487 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/9.899, allocations: 11.3 kB / 4.487 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009326/9.9, allocations: 62.73 kB / 4.487 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/9.9, allocations: 56.33 kB / 4.487 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/9.9, allocations: 38.33 kB / 4.487 GB, free: 189.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006922/9.901, allocations: 0.5441 MB / 4.487 GB, free: 189.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003176/9.904, allocations: 0.8347 MB / 4.488 GB, free: 189.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.003123/9.907, allocations: 2.707 MB / 4.491 GB, free: 188.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0016/9.909, allocations: 1.172 MB / 4.492 GB, free: 188.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.909, allocations: 3.812 kB / 4.492 GB, free: 188.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/9.91, allocations: 0.7175 MB / 4.493 GB, free: 187.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/9.912, allocations: 0.5817 MB / 4.493 GB, free: 187.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/9.916, allocations: 2.209 MB / 4.495 GB, free: 187.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/9.917, allocations: 1.496 MB / 4.497 GB, free: 186.4 MB / 1.167 GB Notification: Performance of SimCode: time 6.61e-07/9.917, allocations: 0 / 4.497 GB, free: 186.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)