Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.029/2.029, allocations: 390.4 MB / 397.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 192.2 kB / 490.8 MB, free: 11.2 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.414/1.414, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 99.7 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3496/0.3507, allocations: 149.1 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/1.236, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.969/5.205, allocations: 1.87 GB / 3.082 GB, free: 206.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/5.205, allocations: 83.95 kB / 3.082 GB, free: 206.2 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 1.245/6.45, allocations: 346.8 MB / 3.421 GB, free: 306.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/6.45, allocations: 11.98 kB / 3.421 GB, free: 306.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/6.451, allocations: 67.48 kB / 3.421 GB, free: 306.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00068/6.451, allocations: 325.7 kB / 3.421 GB, free: 305.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/6.452, allocations: 8 kB / 3.421 GB, free: 305.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/6.452, allocations: 20 kB / 3.421 GB, free: 305.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002493/6.452, allocations: 120.8 kB / 3.421 GB, free: 305.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/6.452, allocations: 247.8 kB / 3.421 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/6.452, allocations: 0 / 3.421 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/6.452, allocations: 7.984 kB / 3.421 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/6.452, allocations: 4 kB / 3.421 GB, free: 305.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/6.454, allocations: 1.663 MB / 3.423 GB, free: 303.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/6.454, allocations: 78.59 kB / 3.423 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/6.454, allocations: 60.88 kB / 3.423 GB, free: 303.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/6.454, allocations: 186.2 kB / 3.423 GB, free: 303.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/6.454, allocations: 34.56 kB / 3.423 GB, free: 303.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/6.454, allocations: 4 kB / 3.423 GB, free: 303.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0005055/6.455, allocations: 153.4 kB / 3.423 GB, free: 303 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/6.455, allocations: 55.34 kB / 3.423 GB, free: 302.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/6.455, allocations: 223.4 kB / 3.424 GB, free: 302.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/6.455, allocations: 25.7 kB / 3.424 GB, free: 302.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/6.455, allocations: 179.6 kB / 3.424 GB, free: 302.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/6.455, allocations: 39.39 kB / 3.424 GB, free: 302.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/6.455, allocations: 4 kB / 3.424 GB, free: 302.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/6.455, allocations: 334.8 kB / 3.424 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/6.455, allocations: 36.61 kB / 3.424 GB, free: 302.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/6.455, allocations: 183.3 kB / 3.424 GB, free: 301.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.396e-05/6.456, allocations: 72.38 kB / 3.425 GB, free: 301.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/6.456, allocations: 7.938 kB / 3.425 GB, free: 301.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002767/6.456, allocations: 197.1 kB / 3.425 GB, free: 301.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/6.456, allocations: 1.402 MB / 3.426 GB, free: 300 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/6.456, allocations: 4 kB / 3.426 GB, free: 300 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/6.456, allocations: 4 kB / 3.426 GB, free: 300 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/6.456, allocations: 59.91 kB / 3.426 GB, free: 300 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/6.456, allocations: 7.938 kB / 3.426 GB, free: 300 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/6.457, allocations: 39.72 kB / 3.426 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/6.457, allocations: 16 kB / 3.426 GB, free: 299.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/6.457, allocations: 8 kB / 3.426 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002153/6.457, allocations: 131.7 kB / 3.426 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/6.457, allocations: 4 kB / 3.426 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/6.457, allocations: 7.984 kB / 3.426 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/6.457, allocations: 56.33 kB / 3.426 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/6.457, allocations: 15.91 kB / 3.426 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/6.457, allocations: 27.83 kB / 3.426 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/6.458, allocations: 16 kB / 3.426 GB, free: 299.7 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 0.0001035/6.458, allocations: 112.9 kB / 3.427 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/6.458, allocations: 31.56 kB / 3.427 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/6.458, allocations: 127.5 kB / 3.427 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/6.458, allocations: 4 kB / 3.427 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/6.458, allocations: 0 / 3.427 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/6.458, allocations: 0 / 3.427 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/6.459, allocations: 0.5435 MB / 3.427 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/6.459, allocations: 4.094 kB / 3.427 GB, free: 298.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/6.459, allocations: 32.14 kB / 3.427 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/6.459, allocations: 11.94 kB / 3.427 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/6.459, allocations: 4 kB / 3.427 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/6.459, allocations: 3.938 kB / 3.427 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/6.459, allocations: 4 kB / 3.427 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003164/6.459, allocations: 361.6 kB / 3.428 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006375/6.46, allocations: 0.7671 MB / 3.428 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/6.46, allocations: 112.7 kB / 3.429 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/6.46, allocations: 3.984 kB / 3.429 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/6.46, allocations: 15.98 kB / 3.429 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/6.46, allocations: 19.92 kB / 3.429 GB, free: 297.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/6.46, allocations: 8 kB / 3.429 GB, free: 297.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001451/6.461, allocations: 167.1 kB / 3.429 GB, free: 297.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002648/6.463, allocations: 0.5229 MB / 3.429 GB, free: 296.6 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.002312/6.466, allocations: 1.406 MB / 3.431 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003492/6.466, allocations: 198.3 kB / 3.431 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/6.466, allocations: 4.25 kB / 3.431 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/6.466, allocations: 51.92 kB / 3.431 GB, free: 295 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/6.467, allocations: 110.2 kB / 3.431 GB, free: 294.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/6.467, allocations: 350.1 kB / 3.431 GB, free: 294.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/6.468, allocations: 0.8036 MB / 3.432 GB, free: 293.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/6.468, allocations: 8 kB / 3.432 GB, free: 293.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)