Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 185.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4616/0.4616, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009842/0.0009844, allocations: 96.53 kB / 415.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1594/0.1604, allocations: 78.45 MB / 494 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.4709, allocations: 72.3 MB / 0.553 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.281/3.752, allocations: 1.823 GB / 2.376 GB, free: 240.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/3.752, allocations: 90.89 kB / 2.376 GB, free: 240 MB / 0.6042 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.9462/4.699, allocations: 346.8 MB / 2.714 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/4.699, allocations: 12 kB / 2.714 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/4.699, allocations: 59.58 kB / 2.715 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/4.7, allocations: 325.9 kB / 2.715 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/4.7, allocations: 8 kB / 2.715 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/4.7, allocations: 12 kB / 2.715 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002329/4.7, allocations: 120.7 kB / 2.715 GB, free: 129 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/4.7, allocations: 259.6 kB / 2.715 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/4.7, allocations: 0 / 2.715 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/4.7, allocations: 0 / 2.715 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/4.7, allocations: 8 kB / 2.715 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/4.702, allocations: 1.671 MB / 2.717 GB, free: 127 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/4.702, allocations: 70.58 kB / 2.717 GB, free: 126.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/4.702, allocations: 64.83 kB / 2.717 GB, free: 126.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/4.703, allocations: 194.1 kB / 2.717 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/4.703, allocations: 34.56 kB / 2.717 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/4.703, allocations: 0 / 2.717 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0005259/4.703, allocations: 147.9 kB / 2.717 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/4.703, allocations: 51.41 kB / 2.717 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/4.703, allocations: 223.3 kB / 2.718 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/4.703, allocations: 37.64 kB / 2.718 GB, free: 126.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/4.703, allocations: 171.7 kB / 2.718 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/4.703, allocations: 43.48 kB / 2.718 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/4.703, allocations: 0 / 2.718 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/4.704, allocations: 334.7 kB / 2.718 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/4.704, allocations: 39.98 kB / 2.718 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/4.704, allocations: 187.4 kB / 2.718 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.613e-05/4.704, allocations: 68.5 kB / 2.718 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/4.704, allocations: 0 / 2.718 GB, free: 125.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000296/4.704, allocations: 197.1 kB / 2.719 GB, free: 125 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003263/4.705, allocations: 1.402 MB / 2.72 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/4.705, allocations: 8 kB / 2.72 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/4.705, allocations: 4 kB / 2.72 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/4.705, allocations: 52.05 kB / 2.72 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/4.705, allocations: 7.172 kB / 2.72 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/4.705, allocations: 35.81 kB / 2.72 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/4.705, allocations: 16 kB / 2.72 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/4.705, allocations: 4 kB / 2.72 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002147/4.705, allocations: 152 kB / 2.72 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/4.705, allocations: 4 kB / 2.72 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/4.705, allocations: 7.906 kB / 2.72 GB, free: 123.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/4.706, allocations: 47.92 kB / 2.72 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/4.706, allocations: 7.984 kB / 2.72 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/4.706, allocations: 31.86 kB / 2.72 GB, free: 123.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/4.706, allocations: 16 kB / 2.72 GB, free: 123.1 MB / 0.6042 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.319e-05/4.706, allocations: 110.6 kB / 2.72 GB, free: 123 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/4.706, allocations: 27.7 kB / 2.721 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/4.706, allocations: 132.2 kB / 2.721 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/4.706, allocations: 3.906 kB / 2.721 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/4.706, allocations: 0 / 2.721 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/4.706, allocations: 8 kB / 2.721 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/4.707, allocations: 0.5359 MB / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/4.707, allocations: 0 / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/4.707, allocations: 31.92 kB / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/4.707, allocations: 4 kB / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/4.707, allocations: 4 kB / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/4.707, allocations: 4 kB / 2.721 GB, free: 122.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/4.707, allocations: 4 kB / 2.721 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002331/4.707, allocations: 352.4 kB / 2.722 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004914/4.708, allocations: 0.7748 MB / 2.722 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/4.708, allocations: 108.8 kB / 2.722 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.184e-05/4.708, allocations: 12.08 kB / 2.722 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/4.708, allocations: 23.92 kB / 2.722 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/4.708, allocations: 11.89 kB / 2.722 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/4.708, allocations: 8 kB / 2.722 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001293/4.709, allocations: 171.1 kB / 2.723 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002401/4.711, allocations: 0.5112 MB / 2.723 GB, free: 120 MB / 0.6042 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.001637/4.713, allocations: 1.427 MB / 2.725 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003599/4.713, allocations: 201 kB / 2.725 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/4.713, allocations: 0 / 2.725 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/4.713, allocations: 45.92 kB / 2.725 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/4.714, allocations: 108.1 kB / 2.725 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/4.714, allocations: 353.5 kB / 2.725 GB, free: 118 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/4.715, allocations: 0.807 MB / 2.726 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/4.715, allocations: 0 / 2.726 GB, free: 117.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)