Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",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.0.0/package.mo): time 2.47/2.47, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001735/0.001735, allocations: 173.3 kB / 360.3 MB, free: 7.559 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.927/1.927, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001291/0.00129, allocations: 94.52 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2994/0.3007, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.9598, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/1.206, allocations: 139 MB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/1.207, allocations: 76.94 kB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01801/1.225, allocations: 2.608 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.225, allocations: 12.5 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/1.225, allocations: 2.391 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.225, allocations: 178.8 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.225, allocations: 4 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/1.225, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001348/1.225, allocations: 20 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/1.225, allocations: 54.06 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.225, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/1.225, allocations: 3.906 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/1.225, allocations: 4 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/1.226, allocations: 259.2 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/1.226, allocations: 35.28 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/1.226, allocations: 12.86 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/1.226, allocations: 93.19 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.226, allocations: 36.53 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/1.226, allocations: 0 / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005735/1.227, allocations: 82.14 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.227, allocations: 56.06 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/1.227, allocations: 101.7 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.227, allocations: 25.7 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/1.227, allocations: 88.12 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/1.227, allocations: 15.5 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/1.227, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.227, allocations: 317.4 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.058e-05/1.227, allocations: 8 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/1.227, allocations: 8 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.228, allocations: 39.94 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.228, allocations: 0 / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000524/1.228, allocations: 78.45 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.228, allocations: 11.98 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/1.228, allocations: 3.938 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.228, allocations: 3.938 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/1.229, allocations: 19.98 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.229, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.229, allocations: 27.98 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.229, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 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 9.335e-05/1.229, allocations: 104.8 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/1.229, allocations: 7.906 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/1.23, allocations: 94.23 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.23, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.23, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.23, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/1.23, allocations: 150.1 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.23, allocations: 2.406 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/1.23, allocations: 27.92 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.23, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.23, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.23, allocations: 4 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.23, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006436/1.231, allocations: 175.9 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006479/1.232, allocations: 0.5467 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/1.232, allocations: 85.53 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/1.232, allocations: 3.984 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/1.232, allocations: 19.98 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/1.232, allocations: 7.938 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/1.232, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.917e-05/1.232, allocations: 87.92 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001215/1.233, allocations: 43.84 kB / 1.104 GB, free: 12.08 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 0.0003883/1.234, allocations: 135.2 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.234, allocations: 25.45 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.234, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/1.234, allocations: 15.94 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/1.234, allocations: 8.5 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/1.235, allocations: 76.52 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003439/1.235, allocations: 0.6993 MB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.235, allocations: 4 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)