Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7281/0.7281, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001114, allocations: 177.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 86.69 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.352/0.3531, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.5675, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/6.092, allocations: 2.139 GB / 2.76 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/6.092, allocations: 91.94 kB / 2.76 GB, free: 86.87 MB / 0.6355 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.642/7.734, allocations: 341 MB / 3.093 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/7.734, allocations: 7.625 kB / 3.093 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005244/7.735, allocations: 62.67 kB / 3.093 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/7.736, allocations: 327.8 kB / 3.093 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/7.736, allocations: 3.594 kB / 3.093 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/7.736, allocations: 13.72 kB / 3.093 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003105/7.736, allocations: 131.4 kB / 3.093 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/7.736, allocations: 238.7 kB / 3.094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/7.736, allocations: 2.297 kB / 3.094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/7.736, allocations: 0 / 3.094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/7.736, allocations: 5.656 kB / 3.094 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/7.738, allocations: 1.494 MB / 3.095 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/7.739, allocations: 99.14 kB / 3.095 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/7.739, allocations: 60.55 kB / 3.095 GB, free: 134.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/7.739, allocations: 187.4 kB / 3.095 GB, free: 134 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/7.739, allocations: 30.56 kB / 3.095 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/7.739, allocations: 5.844 kB / 3.095 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007472/7.74, allocations: 178 kB / 3.096 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/7.74, allocations: 53.75 kB / 3.096 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/7.74, allocations: 212.3 kB / 3.096 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/7.74, allocations: 25.7 kB / 3.096 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/7.74, allocations: 173.5 kB / 3.096 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/7.74, allocations: 39.88 kB / 3.096 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/7.74, allocations: 0 / 3.096 GB, free: 133.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/7.74, allocations: 335.2 kB / 3.096 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/7.74, allocations: 40.48 kB / 3.097 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/7.741, allocations: 169.5 kB / 3.097 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/7.741, allocations: 76.27 kB / 3.097 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/7.741, allocations: 2.281 kB / 3.097 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003405/7.741, allocations: 201.3 kB / 3.097 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004253/7.742, allocations: 1.305 MB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/7.742, allocations: 3.312 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/7.742, allocations: 9.562 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/7.742, allocations: 57.14 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/7.742, allocations: 13.66 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/7.742, allocations: 37.78 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/7.742, allocations: 13.75 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/7.742, allocations: 2.75 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000241/7.743, allocations: 133.9 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/7.743, allocations: 3.344 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-06/7.743, allocations: 6.375 kB / 3.098 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/7.743, allocations: 49.95 kB / 3.099 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/7.743, allocations: 8.375 kB / 3.099 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/7.743, allocations: 29.72 kB / 3.099 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/7.743, allocations: 13 kB / 3.099 GB, free: 131.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.766e-05/7.743, allocations: 112.9 kB / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/7.743, allocations: 23.25 kB / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/7.743, allocations: 29.39 kB / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/7.743, allocations: 6.312 kB / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/7.743, allocations: 0 / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/7.743, allocations: 3.844 kB / 3.099 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008178/7.744, allocations: 0.5305 MB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/7.744, allocations: 3.844 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/7.744, allocations: 34.5 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/7.744, allocations: 2.406 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/7.744, allocations: 9.781 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/7.744, allocations: 3.375 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/7.744, allocations: 3.25 kB / 3.099 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003055/7.745, allocations: 335 kB / 3.1 GB, free: 131 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006634/7.745, allocations: 0.759 MB / 3.1 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/7.746, allocations: 104.9 kB / 3.1 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.764e-05/7.746, allocations: 6.75 kB / 3.1 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/7.746, allocations: 31.53 kB / 3.101 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/7.746, allocations: 6.844 kB / 3.101 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/7.746, allocations: 7.562 kB / 3.101 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000153/7.746, allocations: 166 kB / 3.101 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00272/7.749, allocations: 0.4911 MB / 3.101 GB, free: 130.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002393/7.751, allocations: 1.422 MB / 3.103 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004428/7.752, allocations: 204.8 kB / 3.103 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/7.752, allocations: 0 / 3.103 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.517e-05/7.752, allocations: 47.03 kB / 3.103 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/7.753, allocations: 109.2 kB / 3.103 GB, free: 129.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009039/7.753, allocations: 334.4 kB / 3.103 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/7.754, allocations: 0.8114 MB / 3.104 GB, free: 128.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/7.754, allocations: 0 / 3.104 GB, free: 128.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Pressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Pressure.pipe 2>&1)