Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.544/1.544, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001056/0.001056, allocations: 181.3 kB / 366.3 MB, free: 2.016 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.452/1.452, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0009504/0.0009503, allocations: 82.5 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3109/0.3119, allocations: 122.4 MB / 0.8591 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/1.038, allocations: 116.3 MB / 0.9726 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.424/5.462, allocations: 2.065 GB / 3.037 GB, free: 17.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.462, allocations: 88.39 kB / 3.037 GB, free: 17.77 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 1.138/6.601, allocations: 343.6 MB / 3.373 GB, free: 53.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/6.601, allocations: 12 kB / 3.373 GB, free: 53.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005116/6.601, allocations: 67.48 kB / 3.373 GB, free: 53.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/6.602, allocations: 326.2 kB / 3.373 GB, free: 53.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/6.602, allocations: 4 kB / 3.373 GB, free: 53.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/6.602, allocations: 16 kB / 3.373 GB, free: 53.07 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003006/6.602, allocations: 120.8 kB / 3.373 GB, free: 52.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/6.603, allocations: 256.9 kB / 3.374 GB, free: 52.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/6.603, allocations: 0 / 3.374 GB, free: 52.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/6.603, allocations: 0 / 3.374 GB, free: 52.66 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/6.603, allocations: 11.91 kB / 3.374 GB, free: 52.65 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/6.604, allocations: 1.676 MB / 3.375 GB, free: 50.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/6.605, allocations: 74.59 kB / 3.375 GB, free: 50.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/6.605, allocations: 60.88 kB / 3.375 GB, free: 50.72 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/6.605, allocations: 190.2 kB / 3.376 GB, free: 50.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/6.605, allocations: 34.78 kB / 3.376 GB, free: 50.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.635e-06/6.605, allocations: 0 / 3.376 GB, free: 50.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005051/6.606, allocations: 152.5 kB / 3.376 GB, free: 50.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/6.606, allocations: 59.34 kB / 3.376 GB, free: 50.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/6.606, allocations: 227.3 kB / 3.376 GB, free: 50.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/6.606, allocations: 25.7 kB / 3.376 GB, free: 49.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/6.606, allocations: 171.8 kB / 3.376 GB, free: 49.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/6.606, allocations: 43.39 kB / 3.376 GB, free: 49.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/6.606, allocations: 0 / 3.376 GB, free: 49.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/6.606, allocations: 330.8 kB / 3.377 GB, free: 49.43 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/6.606, allocations: 43.98 kB / 3.377 GB, free: 49.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/6.606, allocations: 179.8 kB / 3.377 GB, free: 49.14 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/6.607, allocations: 79.8 kB / 3.377 GB, free: 49.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/6.607, allocations: 3.938 kB / 3.377 GB, free: 49.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002846/6.607, allocations: 197.1 kB / 3.377 GB, free: 48.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003252/6.607, allocations: 1.391 MB / 3.378 GB, free: 47.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/6.607, allocations: 4 kB / 3.378 GB, free: 47.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/6.607, allocations: 11.91 kB / 3.378 GB, free: 47.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/6.607, allocations: 51.91 kB / 3.378 GB, free: 47.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/6.607, allocations: 12.03 kB / 3.378 GB, free: 47.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/6.608, allocations: 39.75 kB / 3.378 GB, free: 47.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/6.608, allocations: 15.94 kB / 3.378 GB, free: 47.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/6.608, allocations: 4 kB / 3.378 GB, free: 47.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002214/6.608, allocations: 139.8 kB / 3.379 GB, free: 47.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/6.608, allocations: 4 kB / 3.379 GB, free: 47.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/6.608, allocations: 8 kB / 3.379 GB, free: 47.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/6.608, allocations: 51.91 kB / 3.379 GB, free: 47.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/6.608, allocations: 7.938 kB / 3.379 GB, free: 47.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/6.609, allocations: 36.08 kB / 3.379 GB, free: 46.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/6.609, allocations: 15.91 kB / 3.379 GB, free: 46.97 MB / 0.948 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.88e-05/6.609, allocations: 116.9 kB / 3.379 GB, free: 46.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/6.609, allocations: 19.72 kB / 3.379 GB, free: 46.83 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/6.609, allocations: 127.5 kB / 3.379 GB, free: 46.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/6.609, allocations: 4 kB / 3.379 GB, free: 46.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/6.609, allocations: 0 / 3.379 GB, free: 46.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/6.609, allocations: 7.891 kB / 3.379 GB, free: 46.68 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/6.61, allocations: 0.5399 MB / 3.38 GB, free: 46.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/6.61, allocations: 0 / 3.38 GB, free: 46.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/6.61, allocations: 27.98 kB / 3.38 GB, free: 46.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/6.61, allocations: 7.969 kB / 3.38 GB, free: 46.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/6.61, allocations: 4 kB / 3.38 GB, free: 46.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/6.61, allocations: 11.92 kB / 3.38 GB, free: 46.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.61, allocations: 4.219 kB / 3.38 GB, free: 46.02 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002413/6.61, allocations: 349 kB / 3.38 GB, free: 45.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005191/6.611, allocations: 0.7748 MB / 3.381 GB, free: 44.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/6.611, allocations: 112.8 kB / 3.381 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/6.611, allocations: 4 kB / 3.381 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/6.611, allocations: 19.98 kB / 3.381 GB, free: 44.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/6.611, allocations: 19.83 kB / 3.381 GB, free: 44.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/6.611, allocations: 4 kB / 3.381 GB, free: 44.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001262/6.611, allocations: 175.1 kB / 3.381 GB, free: 44.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002544/6.614, allocations: 0.5035 MB / 3.381 GB, free: 43.89 MB / 0.948 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.001872/6.616, allocations: 1.419 MB / 3.383 GB, free: 42.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003703/6.616, allocations: 201 kB / 3.383 GB, free: 42.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.616, allocations: 0 / 3.383 GB, free: 42.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/6.616, allocations: 53.66 kB / 3.383 GB, free: 42.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/6.617, allocations: 109.8 kB / 3.383 GB, free: 42.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/6.617, allocations: 350.5 kB / 3.384 GB, free: 41.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/6.618, allocations: 0.8148 MB / 3.384 GB, free: 40.86 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/6.618, allocations: 0 / 3.384 GB, free: 40.86 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)