Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure",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.077/2.077, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001344/0.001344, allocations: 185.2 kB / 487 MB, free: 5.391 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.598/1.598, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.001127/0.001127, allocations: 103.8 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7146/0.7157, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/1.005, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/5.602, allocations: 1.869 GB / 3.075 GB, free: 431.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/5.602, allocations: 87.48 kB / 3.075 GB, free: 431.8 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.6449/6.247, allocations: 346.8 MB / 3.413 GB, free: 83.51 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/6.247, allocations: 8 kB / 3.413 GB, free: 83.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004579/6.248, allocations: 63.48 kB / 3.413 GB, free: 83.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/6.248, allocations: 322.2 kB / 3.414 GB, free: 83.09 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/6.248, allocations: 4 kB / 3.414 GB, free: 83.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/6.248, allocations: 23.94 kB / 3.414 GB, free: 83.06 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/6.249, allocations: 116.8 kB / 3.414 GB, free: 82.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/6.249, allocations: 255.7 kB / 3.414 GB, free: 82.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/6.249, allocations: 8 kB / 3.414 GB, free: 82.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/6.249, allocations: 0 / 3.414 GB, free: 82.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/6.249, allocations: 4 kB / 3.414 GB, free: 82.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/6.25, allocations: 1.677 MB / 3.416 GB, free: 80.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/6.25, allocations: 82.52 kB / 3.416 GB, free: 80.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/6.251, allocations: 56.89 kB / 3.416 GB, free: 80.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/6.251, allocations: 190.2 kB / 3.416 GB, free: 80.49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/6.251, allocations: 34.47 kB / 3.416 GB, free: 80.45 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/6.251, allocations: 4 kB / 3.416 GB, free: 80.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0004611/6.251, allocations: 149.5 kB / 3.416 GB, free: 80.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/6.251, allocations: 55.41 kB / 3.416 GB, free: 80.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/6.251, allocations: 219.4 kB / 3.417 GB, free: 80.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/6.252, allocations: 25.7 kB / 3.417 GB, free: 79.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/6.252, allocations: 175.7 kB / 3.417 GB, free: 79.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/6.252, allocations: 43.39 kB / 3.417 GB, free: 79.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/6.252, allocations: 4 kB / 3.417 GB, free: 79.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/6.252, allocations: 334.8 kB / 3.417 GB, free: 79.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/6.252, allocations: 39.98 kB / 3.417 GB, free: 79.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/6.252, allocations: 189.8 kB / 3.417 GB, free: 79.12 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/6.252, allocations: 67.91 kB / 3.417 GB, free: 79.05 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.252, allocations: 0 / 3.417 GB, free: 79.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00027/6.252, allocations: 205 kB / 3.418 GB, free: 78.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/6.252, allocations: 1.395 MB / 3.419 GB, free: 77.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/6.253, allocations: 7.938 kB / 3.419 GB, free: 77.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/6.253, allocations: 4 kB / 3.419 GB, free: 77.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/6.253, allocations: 55.91 kB / 3.419 GB, free: 77.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/6.253, allocations: 4 kB / 3.419 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/6.253, allocations: 39.72 kB / 3.419 GB, free: 77.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/6.253, allocations: 16 kB / 3.419 GB, free: 77.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/6.253, allocations: 8 kB / 3.419 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001939/6.253, allocations: 139.6 kB / 3.419 GB, free: 77.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/6.253, allocations: 4 kB / 3.419 GB, free: 77.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/6.253, allocations: 4 kB / 3.419 GB, free: 77.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/6.253, allocations: 52.33 kB / 3.419 GB, free: 77.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/6.253, allocations: 7.984 kB / 3.419 GB, free: 77.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/6.254, allocations: 31.83 kB / 3.419 GB, free: 76.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/6.254, allocations: 12 kB / 3.419 GB, free: 76.96 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/6.254, allocations: 119.6 kB / 3.419 GB, free: 76.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/6.254, allocations: 27.7 kB / 3.419 GB, free: 76.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/6.254, allocations: 135.4 kB / 3.42 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/6.254, allocations: 0 / 3.42 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/6.254, allocations: 0 / 3.42 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/6.254, allocations: 0 / 3.42 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/6.255, allocations: 0.5477 MB / 3.42 GB, free: 76.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/6.255, allocations: 4 kB / 3.42 GB, free: 76.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/6.255, allocations: 32.2 kB / 3.42 GB, free: 76.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/6.255, allocations: 0 / 3.42 GB, free: 76.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/6.255, allocations: 4 kB / 3.42 GB, free: 76.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/6.255, allocations: 4 kB / 3.42 GB, free: 76.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/6.255, allocations: 3.938 kB / 3.42 GB, free: 76.02 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001998/6.255, allocations: 361 kB / 3.421 GB, free: 75.58 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004189/6.256, allocations: 0.7762 MB / 3.421 GB, free: 74.72 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/6.256, allocations: 112.7 kB / 3.421 GB, free: 74.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/6.256, allocations: 3.984 kB / 3.421 GB, free: 74.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/6.256, allocations: 15.98 kB / 3.421 GB, free: 74.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/6.256, allocations: 23.83 kB / 3.421 GB, free: 74.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/6.256, allocations: 4 kB / 3.421 GB, free: 74.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001128/6.256, allocations: 175.1 kB / 3.422 GB, free: 74.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002372/6.258, allocations: 0.5074 MB / 3.422 GB, free: 73.87 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00173/6.26, allocations: 1.427 MB / 3.423 GB, free: 72.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003434/6.261, allocations: 198.5 kB / 3.424 GB, free: 72.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.261, allocations: 64 / 3.424 GB, free: 72.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/6.261, allocations: 47.92 kB / 3.424 GB, free: 72.16 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/6.261, allocations: 101 kB / 3.424 GB, free: 72.07 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/6.262, allocations: 354 kB / 3.424 GB, free: 71.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/6.262, allocations: 0.807 MB / 3.425 GB, free: 70.84 MB / 1.151 GB Notification: Performance of SimCode: time 3.2e-07/6.262, allocations: 4 kB / 3.425 GB, free: 70.84 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)