Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.421/1.421, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001061/0.001061, allocations: 189.3 kB / 361.1 MB, free: 7.074 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.182/1.182, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0009325/0.0009325, allocations: 90.86 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2114/0.2124, allocations: 121.4 MB / 0.8511 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.7627, allocations: 115.3 MB / 0.9637 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.9302, allocations: 139.2 MB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.9304, allocations: 79.95 kB / 1.1 GB, free: 0.832 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.008392/0.9388, allocations: 2.614 MB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.9389, allocations: 12.48 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.9389, allocations: 4 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.939, allocations: 174.9 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.939, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.9391, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.918e-05/0.9392, allocations: 20 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.01e-05/0.9393, allocations: 45.69 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9393, allocations: 8.703 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9393, allocations: 3.906 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.9393, allocations: 0 / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.9396, allocations: 259.2 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.9397, allocations: 30.58 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.9398, allocations: 23.75 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.9399, allocations: 89.19 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.94, allocations: 30.56 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.94, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003635/0.9404, allocations: 82.53 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.9404, allocations: 55.41 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/0.9405, allocations: 106.2 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.9405, allocations: 25.7 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.9405, allocations: 88.12 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.9405, allocations: 11.75 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9406, allocations: 0 / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.9406, allocations: 321.4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.9407, allocations: 8 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.9407, allocations: 8 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.9409, allocations: 37.53 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9409, allocations: 4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002457/0.9412, allocations: 81.55 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.9412, allocations: 8 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9412, allocations: 0 / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.9412, allocations: 3.938 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.9413, allocations: 24.55 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.9414, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.923e-05/0.9415, allocations: 19.98 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.9415, allocations: 4 kB / 1.104 GB, free: 12.51 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 5.373e-05/0.9415, allocations: 108.9 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.9416, allocations: 11.89 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.9419, allocations: 82.3 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.9419, allocations: 0 / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.9419, allocations: 4 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9419, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.942, allocations: 150.1 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.942, allocations: 4.188 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.9422, allocations: 23.98 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9422, allocations: 0.5156 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.9422, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.9422, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.9422, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003004/0.9425, allocations: 187.9 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003613/0.9429, allocations: 0.5428 MB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.9429, allocations: 85.94 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9429, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.9431, allocations: 19.98 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.9431, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9431, allocations: 5.312 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.401e-05/0.9432, allocations: 87.27 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000796/0.944, allocations: 43.84 kB / 1.105 GB, free: 11.07 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.0002145/0.9442, allocations: 142.9 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.177e-05/0.9443, allocations: 20 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9443, allocations: 0.6562 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.9443, allocations: 12 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.9445, allocations: 7.719 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.9448, allocations: 92.52 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.945, allocations: 0.6993 MB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.945, allocations: 0 / 1.106 GB, free: 10.05 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)