Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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.6901/0.6901, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001159/0.001159, allocations: 181.3 kB / 164.4 MB, free: 6.883 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.692/1.692, allocations: 205.1 MB / 399.1 MB, free: 6.141 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.0009413/0.0009413, allocations: 83.92 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3318/0.3327, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.5067, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.316/4.823, allocations: 2.13 GB / 2.751 GB, free: 68.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/4.823, allocations: 91.94 kB / 2.751 GB, free: 68.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.051/4.874, allocations: 26.64 MB / 2.777 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/4.874, allocations: 10.19 kB / 2.777 GB, free: 41.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004657/4.875, allocations: 31.95 kB / 2.777 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/4.875, allocations: 171 kB / 2.777 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/4.875, allocations: 4 kB / 2.777 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/4.875, allocations: 0 / 2.777 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.651e-05/4.875, allocations: 8 kB / 2.777 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/4.875, allocations: 45.66 kB / 2.777 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/4.875, allocations: 0 / 2.777 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/4.875, allocations: 0 / 2.777 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/4.875, allocations: 0 / 2.777 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/4.875, allocations: 229.4 kB / 2.777 GB, free: 41.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/4.875, allocations: 30.56 kB / 2.777 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/4.875, allocations: 12.92 kB / 2.777 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-06/4.875, allocations: 0 / 2.777 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/4.875, allocations: 34.56 kB / 2.777 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/4.875, allocations: 0 / 2.777 GB, free: 41.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001397/4.876, allocations: 37.61 kB / 2.777 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/4.876, allocations: 59.38 kB / 2.777 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/4.876, allocations: 101 kB / 2.777 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/4.876, allocations: 25.7 kB / 2.777 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/4.876, allocations: 88.08 kB / 2.777 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/4.876, allocations: 7.844 kB / 2.778 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/4.876, allocations: 0 / 2.778 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/4.876, allocations: 314.8 kB / 2.778 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/4.876, allocations: 7.984 kB / 2.778 GB, free: 40.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/4.876, allocations: 8.188 kB / 2.778 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/4.876, allocations: 8.078 kB / 2.778 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/4.876, allocations: 0 / 2.778 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001091/4.876, allocations: 53.58 kB / 2.778 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/4.876, allocations: 4 kB / 2.778 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/4.876, allocations: 0 / 2.778 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/4.876, allocations: 3.938 kB / 2.778 GB, free: 40.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/4.876, allocations: 11.98 kB / 2.778 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/4.876, allocations: 0 / 2.778 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/4.876, allocations: 11.98 kB / 2.778 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/4.876, allocations: 7.938 kB / 2.778 GB, free: 40.42 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.149e-05/4.876, allocations: 104.9 kB / 2.778 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/4.877, allocations: 0 / 2.778 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/4.877, allocations: 7.312 kB / 2.778 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/4.877, allocations: 0 / 2.778 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/4.877, allocations: 0 / 2.778 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/4.877, allocations: 3.984 kB / 2.778 GB, free: 40.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/4.877, allocations: 134.2 kB / 2.778 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/4.877, allocations: 4 kB / 2.778 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/4.877, allocations: 7.984 kB / 2.778 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/4.877, allocations: 0 / 2.778 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/4.877, allocations: 0 / 2.778 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/4.877, allocations: 0 / 2.778 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/4.877, allocations: 0 / 2.778 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.776e-05/4.877, allocations: 132.9 kB / 2.778 GB, free: 39.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001713/4.877, allocations: 0.5272 MB / 2.779 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/4.877, allocations: 81.09 kB / 2.779 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/4.877, allocations: 0 / 2.779 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/4.877, allocations: 4 kB / 2.779 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/4.877, allocations: 0 / 2.779 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/4.877, allocations: 0 / 2.779 GB, free: 39.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.025e-05/4.877, allocations: 99.23 kB / 2.779 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000992/4.878, allocations: 91.89 kB / 2.779 GB, free: 39.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006668/4.879, allocations: 0.6548 MB / 2.78 GB, free: 38.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/4.879, allocations: 15.98 kB / 2.78 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/4.879, allocations: 4 kB / 2.78 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/4.879, allocations: 7.938 kB / 2.78 GB, free: 38.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/4.879, allocations: 8 kB / 2.78 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/4.879, allocations: 64.77 kB / 2.78 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/4.88, allocations: 0.6919 MB / 2.78 GB, free: 37.65 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/4.88, allocations: 0 / 2.78 GB, free: 37.65 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)