Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009967/0.0009965, allocations: 183.3 kB / 316 MB, free: 7.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.1 MB / 0.5667 GB, free: 23.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 87.03 kB / 0.671 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2202/0.2211, allocations: 112.5 MB / 0.7808 GB, free: 380 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.7118, allocations: 106.3 MB / 0.8846 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.8703, allocations: 132.9 MB / 1.014 GB, free: 7.023 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.8707, allocations: 67.97 kB / 1.014 GB, free: 6.957 MB / 0.6667 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.009124/0.8799, allocations: 2.613 MB / 1.017 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.8799, allocations: 12 kB / 1.017 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.88, allocations: 7.906 kB / 1.017 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.8801, allocations: 174.9 kB / 1.017 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.8801, allocations: 4 kB / 1.017 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.8802, allocations: 0 / 1.017 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/0.8803, allocations: 20 kB / 1.017 GB, free: 4.039 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.8804, allocations: 49.67 kB / 1.017 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8804, allocations: 3.984 kB / 1.017 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8804, allocations: 3.938 kB / 1.017 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.8804, allocations: 3.984 kB / 1.017 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.8808, allocations: 257.3 kB / 1.018 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.8809, allocations: 34.58 kB / 1.018 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.881, allocations: 16.77 kB / 1.018 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.8812, allocations: 89.19 kB / 1.018 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.8812, allocations: 42.55 kB / 1.018 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.8812, allocations: 0 / 1.018 GB, free: 3.465 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0004217/0.8816, allocations: 73.59 kB / 1.018 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.8817, allocations: 51.41 kB / 1.018 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.8818, allocations: 105 kB / 1.018 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.8818, allocations: 25.7 kB / 1.018 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.8819, allocations: 88.05 kB / 1.018 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.8819, allocations: 15.84 kB / 1.018 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.8819, allocations: 0 / 1.018 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8821, allocations: 321.4 kB / 1.018 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.8821, allocations: 8 kB / 1.018 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.8822, allocations: 4 kB / 1.018 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.8824, allocations: 39.95 kB / 1.018 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8824, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002725/0.8827, allocations: 85.48 kB / 1.018 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8827, allocations: 4 kB / 1.018 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8827, allocations: 4 kB / 1.018 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.8828, allocations: 0 / 1.018 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.8829, allocations: 23.97 kB / 1.018 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8829, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.883, allocations: 28.27 kB / 1.019 GB, free: 2.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.883, allocations: 0 / 1.019 GB, free: 2.559 MB / 0.6667 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 7.994e-05/0.8831, allocations: 103.4 kB / 1.019 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.8832, allocations: 11.91 kB / 1.019 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.8835, allocations: 93.56 kB / 1.019 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8835, allocations: 0 / 1.019 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.8835, allocations: 0 / 1.019 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.8835, allocations: 3.938 kB / 1.019 GB, free: 2.336 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.8837, allocations: 146.2 kB / 1.019 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8837, allocations: 3.938 kB / 1.019 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.8838, allocations: 27.97 kB / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.8838, allocations: 3.906 kB / 1.019 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.8839, allocations: 0 / 1.019 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.8839, allocations: 4 kB / 1.019 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8839, allocations: 0 / 1.019 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003039/0.8842, allocations: 175.6 kB / 1.019 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003964/0.8846, allocations: 0.5506 MB / 1.02 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.8846, allocations: 81.11 kB / 1.02 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.8847, allocations: 4 kB / 1.02 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.8848, allocations: 19.98 kB / 1.02 GB, free: 1.238 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.8849, allocations: 15.89 kB / 1.02 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8849, allocations: 0 / 1.02 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.182e-05/0.8849, allocations: 83.28 kB / 1.02 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008924/0.8858, allocations: 35.92 kB / 1.02 GB, free: 1.105 MB / 0.6667 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.0003117/0.8861, allocations: 139.2 kB / 1.02 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.8863, allocations: 23.98 kB / 1.02 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8863, allocations: 4 kB / 1.02 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.8863, allocations: 15.94 kB / 1.02 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.8866, allocations: 7.984 kB / 1.02 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.8869, allocations: 79.62 kB / 1.02 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.8872, allocations: 0.6957 MB / 1.021 GB, free: 92 kB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.8872, allocations: 0 / 1.021 GB, free: 92 kB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)