Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6708/0.6708, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001168/0.001168, allocations: 185.3 kB / 164.4 MB, free: 6.895 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.528/1.528, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009325/0.0009327, allocations: 94.69 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3324/0.3333, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.5306, allocations: 76.76 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5568/1.087, allocations: 103.2 MB / 0.7218 GB, free: 9.066 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.088, allocations: 87.94 kB / 0.7219 GB, free: 8.98 MB / 490.7 MB 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.006776/1.095, allocations: 2.038 MB / 0.7239 GB, free: 6.902 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.095, allocations: 8 kB / 0.7239 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/1.095, allocations: 3.688 kB / 0.7239 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.095, allocations: 167 kB / 0.7241 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/1.095, allocations: 25.7 kB / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/1.095, allocations: 0 / 0.7241 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.311e-05/1.095, allocations: 16 kB / 0.7241 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/1.095, allocations: 37.61 kB / 0.7241 GB, free: 6.602 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/1.095, allocations: 4 kB / 0.7241 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/1.095, allocations: 0 / 0.7241 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.095, allocations: 0 / 0.7241 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/1.095, allocations: 138.1 kB / 0.7243 GB, free: 6.426 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/1.095, allocations: 23.61 kB / 0.7243 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/1.095, allocations: 8.859 kB / 0.7243 GB, free: 6.383 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/1.096, allocations: 93.23 kB / 0.7244 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/1.096, allocations: 30.56 kB / 0.7244 GB, free: 6.234 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/1.096, allocations: 4 kB / 0.7244 GB, free: 6.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003533/1.096, allocations: 69.58 kB / 0.7245 GB, free: 6.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.096, allocations: 51.41 kB / 0.7245 GB, free: 6.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/1.096, allocations: 97.66 kB / 0.7246 GB, free: 5.992 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/1.096, allocations: 25.7 kB / 0.7247 GB, free: 5.961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/1.096, allocations: 80.14 kB / 0.7247 GB, free: 5.879 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/1.096, allocations: 15.73 kB / 0.7248 GB, free: 5.863 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/1.096, allocations: 3.938 kB / 0.7248 GB, free: 5.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/1.096, allocations: 318.8 kB / 0.7251 GB, free: 5.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/1.096, allocations: 2.078 kB / 0.7251 GB, free: 5.539 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/1.096, allocations: 4 kB / 0.7251 GB, free: 5.535 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/1.097, allocations: 31.95 kB / 0.7251 GB, free: 5.504 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.097, allocations: 4 kB / 0.7251 GB, free: 5.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002379/1.097, allocations: 65.64 kB / 0.7252 GB, free: 5.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.097, allocations: 8 kB / 0.7252 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.097, allocations: 0 / 0.7252 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.097, allocations: 0 / 0.7252 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/1.097, allocations: 7.938 kB / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.097, allocations: 3.906 kB / 0.7252 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/1.097, allocations: 7.984 kB / 0.7252 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/1.097, allocations: 0 / 0.7252 GB, free: 5.402 MB / 490.7 MB 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 6.854e-05/1.097, allocations: 105 kB / 0.7253 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/1.097, allocations: 3.906 kB / 0.7253 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/1.098, allocations: 77.33 kB / 0.7254 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.098, allocations: 432 / 0.7254 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.098, allocations: 0 / 0.7254 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.098, allocations: 0 / 0.7254 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/1.098, allocations: 134.2 kB / 0.7255 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.098, allocations: 3.938 kB / 0.7255 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.758e-05/1.098, allocations: 8 kB / 0.7255 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/1.098, allocations: 7.984 kB / 0.7255 GB, free: 5.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/1.098, allocations: 7.891 kB / 0.7255 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.098, allocations: 3.938 kB / 0.7255 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.098, allocations: 0 / 0.7255 GB, free: 5.008 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002624/1.098, allocations: 93.22 kB / 0.7256 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004014/1.098, allocations: 481.4 kB / 0.7261 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/1.099, allocations: 81.11 kB / 0.7262 GB, free: 4.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/1.099, allocations: 3.906 kB / 0.7262 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/1.099, allocations: 0 / 0.7262 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/1.099, allocations: 3.984 kB / 0.7262 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.099, allocations: 6.938 kB / 0.7262 GB, free: 4.301 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.495e-05/1.099, allocations: 79.22 kB / 0.7262 GB, free: 4.223 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008369/1.1, allocations: 31.94 kB / 0.7263 GB, free: 4.191 MB / 490.7 MB 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.0002551/1.1, allocations: 143.1 kB / 0.7264 GB, free: 4.043 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.827e-05/1.1, allocations: 12 kB / 0.7264 GB, free: 4.031 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.1, allocations: 4 kB / 0.7264 GB, free: 4.027 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/1.1, allocations: 4 kB / 0.7264 GB, free: 4.023 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/1.1, allocations: 11.92 kB / 0.7264 GB, free: 4.012 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/1.1, allocations: 59.86 kB / 0.7265 GB, free: 3.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/1.101, allocations: 0.6915 MB / 0.7272 GB, free: 3.215 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.101, allocations: 0 / 0.7272 GB, free: 3.215 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)