Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 1.966/1.966, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.002812/0.002812, allocations: 189.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.1 MB / 0.5658 GB, free: 388 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 98.75 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5171/0.5186, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.7351, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.775, allocations: 2.211 GB / 3.095 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/6.775, allocations: 82.45 kB / 3.095 GB, free: 157.5 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 6.544/13.32, allocations: 1.246 GB / 4.341 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/13.32, allocations: 7.469 kB / 4.341 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/13.32, allocations: 392.7 kB / 4.341 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/13.33, allocations: 1.152 MB / 4.342 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/13.33, allocations: 39.56 kB / 4.342 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006017/13.33, allocations: 91 kB / 4.342 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00418/13.33, allocations: 1.141 MB / 4.343 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/13.34, allocations: 1.348 MB / 4.345 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/13.34, allocations: 7.25 kB / 4.345 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/13.34, allocations: 3.969 kB / 4.345 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/13.34, allocations: 49.45 kB / 4.345 GB, free: 123.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/13.35, allocations: 6.416 MB / 4.351 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/13.35, allocations: 0.5939 MB / 4.352 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008849/13.35, allocations: 406.4 kB / 4.352 GB, free: 120.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009864/13.35, allocations: 419.6 kB / 4.352 GB, free: 120.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/13.35, allocations: 44.19 kB / 4.352 GB, free: 120 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.466e-06/13.35, allocations: 0 / 4.352 GB, free: 120 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.00415/13.36, allocations: 1.04 MB / 4.354 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/13.36, allocations: 62 kB / 4.354 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/13.36, allocations: 0.7322 MB / 4.354 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/13.36, allocations: 29.23 kB / 4.354 GB, free: 119.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/13.36, allocations: 0.5524 MB / 4.355 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/13.36, allocations: 252.6 kB / 4.355 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/13.36, allocations: 0 / 4.355 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/13.36, allocations: 354.8 kB / 4.355 GB, free: 119 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/13.36, allocations: 316.3 kB / 4.356 GB, free: 119 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/13.36, allocations: 0.6803 MB / 4.356 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/13.37, allocations: 0.5839 MB / 4.357 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/13.37, allocations: 3.906 kB / 4.357 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004149/13.37, allocations: 1.264 MB / 4.358 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/13.37, allocations: 3.094 kB / 4.358 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/13.37, allocations: 7.281 kB / 4.358 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/13.37, allocations: 147.7 kB / 4.358 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/13.37, allocations: 194.1 kB / 4.359 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004902/13.38, allocations: 4.546 MB / 4.363 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002694/13.38, allocations: 122.2 kB / 4.363 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/13.38, allocations: 50.39 kB / 4.363 GB, free: 114.6 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.0004832/13.38, allocations: 135.4 kB / 4.363 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004581/13.38, allocations: 114.8 kB / 4.363 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/13.39, allocations: 1.094 MB / 4.364 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/13.39, allocations: 18.62 kB / 4.364 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/13.39, allocations: 3 kB / 4.364 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002481/13.39, allocations: 1.002 MB / 4.365 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007612/13.4, allocations: 2.312 MB / 4.368 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/13.4, allocations: 0 / 4.368 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/13.4, allocations: 134.7 kB / 4.368 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008239/13.4, allocations: 135.3 kB / 4.368 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/13.4, allocations: 12.5 kB / 4.368 GB, free: 113.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/13.4, allocations: 4.534 MB / 4.372 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-06/13.4, allocations: 0 / 4.372 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004718/13.41, allocations: 1.69 MB / 4.374 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006135/13.41, allocations: 2.675 MB / 4.377 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/13.42, allocations: 296.7 kB / 4.377 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/13.42, allocations: 7.328 kB / 4.377 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/13.42, allocations: 57.28 kB / 4.377 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/13.42, allocations: 44.22 kB / 4.377 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/13.42, allocations: 29.53 kB / 4.377 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001208/13.42, allocations: 0.5622 MB / 4.378 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005437/13.42, allocations: 0.9236 MB / 4.379 GB, free: 108.1 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.004973/13.43, allocations: 2.68 MB / 4.381 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002693/13.43, allocations: 1.115 MB / 4.382 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/13.43, allocations: 0 / 4.382 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/13.43, allocations: 0.6738 MB / 4.383 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/13.44, allocations: 0.5709 MB / 4.383 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/13.45, allocations: 2.069 MB / 4.385 GB, free: 106 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/13.45, allocations: 1.488 MB / 4.387 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.393e-06/13.45, allocations: 0 / 4.387 GB, free: 105.3 MB / 0.8855 GB