Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_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.395/2.395, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001597/0.001597, allocations: 183.5 kB / 360.3 MB, free: 7.578 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.784/1.784, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001233/0.001233, allocations: 84.89 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2866/0.2878, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.8924, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/1.153, allocations: 138.7 MB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.153, allocations: 81.22 kB / 1.098 GB, free: 2.152 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01395/1.167, allocations: 2.699 MB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.167, allocations: 12 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/1.167, allocations: 3.906 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.167, allocations: 167 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/1.167, allocations: 29.7 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.167, allocations: 4.562 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.004e-05/1.168, allocations: 7.984 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.391e-05/1.168, allocations: 40.3 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.168, allocations: 0.5156 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/1.168, allocations: 3.906 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.168, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/1.168, allocations: 134.2 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/1.168, allocations: 47.11 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.621e-05/1.168, allocations: 16.86 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/1.169, allocations: 178.3 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.169, allocations: 34.56 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.169, allocations: 4 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0007893/1.169, allocations: 106.1 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.169, allocations: 51.41 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/1.17, allocations: 89.8 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/1.17, allocations: 25.7 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/1.17, allocations: 80.14 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/1.17, allocations: 15.75 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.17, allocations: 7.938 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.17, allocations: 318.8 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/1.17, allocations: 7.938 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/1.17, allocations: 9.125 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/1.171, allocations: 59.91 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.171, allocations: 0 / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006989/1.171, allocations: 102.5 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.171, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.171, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.171, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/1.171, allocations: 13.36 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/1.171, allocations: 1.953 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.821e-05/1.172, allocations: 3.906 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.172, allocations: 4 kB / 1.102 GB, free: 13.75 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 (4): * Single equations (assignments): 4 * 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.054e-05/1.172, allocations: 104.8 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/1.172, allocations: 7.188 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007457/1.172, allocations: 117.8 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.172, allocations: 8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.172, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.172, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/1.173, allocations: 130.2 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.173, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/1.173, allocations: 13.62 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.173, allocations: 4.656 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/1.173, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.173, allocations: 3.984 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.173, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006935/1.173, allocations: 129 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008877/1.174, allocations: 0.5035 MB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/1.175, allocations: 85 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.175, allocations: 4 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/1.175, allocations: 4 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/1.175, allocations: 0.9844 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.175, allocations: 7.984 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-05/1.175, allocations: 79.28 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00115/1.176, allocations: 39.94 kB / 1.104 GB, free: 12.42 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 (4): * Single equations (assignments): 4 * 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.0003303/1.176, allocations: 151 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001173/1.176, allocations: 20 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.176, allocations: 0 / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/1.176, allocations: 12 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.177, allocations: 13.77 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/1.177, allocations: 60.67 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.177, allocations: 0.6915 MB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of SimCode: time 7.02e-07/1.177, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)