Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.255/1.255, allocations: 249.4 MB / 256.7 MB, free: 7.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 185.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008244/0.0008242, allocations: 83.34 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3169/0.3178, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.4675, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.465/3.932, allocations: 2.212 GB / 3.096 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/3.932, allocations: 87.95 kB / 3.096 GB, free: 191.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 3.95/7.882, allocations: 1.246 GB / 4.342 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/7.883, allocations: 7.812 kB / 4.342 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/7.885, allocations: 389.2 kB / 4.342 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/7.889, allocations: 1.156 MB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/7.889, allocations: 42.31 kB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000469/7.89, allocations: 84.72 kB / 4.344 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002734/7.892, allocations: 1.143 MB / 4.345 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/7.896, allocations: 1.36 MB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/7.896, allocations: 3.938 kB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/7.896, allocations: 0 / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/7.896, allocations: 48.23 kB / 4.346 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008284/7.904, allocations: 6.404 MB / 4.352 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/7.905, allocations: 0.606 MB / 4.353 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/7.905, allocations: 403 kB / 4.353 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/7.906, allocations: 416.1 kB / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/7.906, allocations: 47.56 kB / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 5.03e-06/7.906, allocations: 3.703 kB / 4.354 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00246/7.909, allocations: 1.045 MB / 4.355 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/7.909, allocations: 58.16 kB / 4.355 GB, free: 120.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009381/7.91, allocations: 0.7361 MB / 4.356 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.559e-05/7.91, allocations: 25.7 kB / 4.356 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/7.91, allocations: 0.5538 MB / 4.356 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/7.91, allocations: 254.6 kB / 4.356 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/7.91, allocations: 0 / 4.356 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/7.91, allocations: 343.5 kB / 4.357 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/7.911, allocations: 323.4 kB / 4.357 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/7.911, allocations: 0.6833 MB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/7.912, allocations: 0.5771 MB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/7.912, allocations: 2.25 kB / 4.358 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002057/7.915, allocations: 1.254 MB / 4.36 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/7.915, allocations: 7.594 kB / 4.36 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/7.915, allocations: 13.53 kB / 4.36 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/7.915, allocations: 146.9 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007743/7.916, allocations: 194.8 kB / 4.36 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/7.919, allocations: 4.544 MB / 4.364 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/7.92, allocations: 126.7 kB / 4.364 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/7.92, allocations: 49.38 kB / 4.365 GB, free: 115.4 MB / 0.8855 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.0002184/7.921, allocations: 131.5 kB / 4.365 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/7.921, allocations: 117.7 kB / 4.365 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/7.923, allocations: 1.103 MB / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/7.923, allocations: 7.812 kB / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/7.923, allocations: 0 / 4.366 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/7.924, allocations: 1.007 MB / 4.367 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/7.928, allocations: 2.302 MB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/7.928, allocations: 3.625 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/7.929, allocations: 130.5 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/7.929, allocations: 139.4 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.39e-05/7.929, allocations: 10.88 kB / 4.369 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00289/7.932, allocations: 4.538 MB / 4.374 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/7.932, allocations: 3.438 kB / 4.374 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002196/7.934, allocations: 1.688 MB / 4.375 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003243/7.938, allocations: 2.681 MB / 4.378 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007325/7.938, allocations: 293.5 kB / 4.378 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/7.939, allocations: 7.812 kB / 4.378 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/7.94, allocations: 51.31 kB / 4.378 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/7.94, allocations: 48.55 kB / 4.378 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.384e-05/7.94, allocations: 26.98 kB / 4.378 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0009662/7.941, allocations: 0.5689 MB / 4.379 GB, free: 109 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003768/7.945, allocations: 0.9217 MB / 4.38 GB, free: 109 MB / 0.8855 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.003811/7.949, allocations: 2.692 MB / 4.383 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001807/7.95, allocations: 1.098 MB / 4.384 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/7.95, allocations: 0 / 4.384 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/7.951, allocations: 0.6712 MB / 4.384 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/7.955, allocations: 0.5623 MB / 4.385 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/7.96, allocations: 2.074 MB / 4.387 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/7.962, allocations: 1.485 MB / 4.388 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.302e-06/7.962, allocations: 3.75 kB / 4.388 GB, free: 106.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)