Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6933/0.6933, allocations: 127.4 MB / 134.6 MB, free: 4.059 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.001193/0.001193, allocations: 197.2 kB / 164.4 MB, free: 6.863 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.645/1.645, allocations: 205.1 MB / 399.1 MB, free: 6.07 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.0009245/0.0009244, allocations: 91.05 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3296/0.3305, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.518, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/1.015, allocations: 103.9 MB / 0.7224 GB, free: 8.504 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.015, allocations: 71.95 kB / 0.7225 GB, free: 8.434 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008807/1.024, allocations: 2.658 MB / 0.7251 GB, free: 5.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.024, allocations: 8 kB / 0.7251 GB, free: 5.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/1.024, allocations: 7.906 kB / 0.7251 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.024, allocations: 174.9 kB / 0.7253 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/1.024, allocations: 4 kB / 0.7253 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.024, allocations: 3.938 kB / 0.7253 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.999e-05/1.024, allocations: 20 kB / 0.7253 GB, free: 5.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/1.024, allocations: 48.56 kB / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.025, allocations: 0 / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.025, allocations: 0 / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.025, allocations: 0.75 kB / 0.7253 GB, free: 5.426 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/1.025, allocations: 265.3 kB / 0.7256 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/1.025, allocations: 34.52 kB / 0.7256 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/1.025, allocations: 8.859 kB / 0.7256 GB, free: 5.074 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/1.025, allocations: 97.19 kB / 0.7257 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/1.025, allocations: 34.56 kB / 0.7258 GB, free: 4.918 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.025, allocations: 0 / 0.7258 GB, free: 4.918 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003684/1.026, allocations: 73.64 kB / 0.7258 GB, free: 4.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/1.026, allocations: 60 kB / 0.7259 GB, free: 4.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/1.026, allocations: 100.9 kB / 0.726 GB, free: 4.664 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.026, allocations: 25.7 kB / 0.726 GB, free: 4.633 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/1.026, allocations: 92.06 kB / 0.7261 GB, free: 4.539 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/1.026, allocations: 15.84 kB / 0.7261 GB, free: 4.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/1.026, allocations: 2.078 kB / 0.7261 GB, free: 4.523 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/1.026, allocations: 321.3 kB / 0.7264 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/1.026, allocations: 4 kB / 0.7264 GB, free: 4.199 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/1.026, allocations: 8 kB / 0.7264 GB, free: 4.191 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/1.026, allocations: 43.94 kB / 0.7265 GB, free: 4.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.026, allocations: 0 / 0.7265 GB, free: 4.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002721/1.027, allocations: 77.64 kB / 0.7266 GB, free: 4.066 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.027, allocations: 8 kB / 0.7266 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.027, allocations: 0 / 0.7266 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/1.027, allocations: 0 / 0.7266 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.027, allocations: 19.98 kB / 0.7266 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.027, allocations: 7.906 kB / 0.7266 GB, free: 4.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/1.027, allocations: 19.98 kB / 0.7266 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/1.027, allocations: 0 / 0.7266 GB, free: 4.012 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.948e-05/1.027, allocations: 104.9 kB / 0.7267 GB, free: 3.902 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/1.027, allocations: 7.906 kB / 0.7267 GB, free: 3.895 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/1.027, allocations: 93.62 kB / 0.7268 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.027, allocations: 0 / 0.7268 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.027, allocations: 0 / 0.7268 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.027, allocations: 3.938 kB / 0.7268 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/1.028, allocations: 154.1 kB / 0.727 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/1.028, allocations: 0 / 0.727 GB, free: 3.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/1.028, allocations: 24.22 kB / 0.727 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.028, allocations: 0 / 0.727 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/1.028, allocations: 4 kB / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.028, allocations: 0.875 kB / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.028, allocations: 0 / 0.727 GB, free: 3.578 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003202/1.028, allocations: 183.7 kB / 0.7272 GB, free: 3.383 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004928/1.029, allocations: 0.5429 MB / 0.7277 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/1.029, allocations: 85.09 kB / 0.7278 GB, free: 2.719 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/1.029, allocations: 3.906 kB / 0.7278 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/1.029, allocations: 23.92 kB / 0.7278 GB, free: 2.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/1.029, allocations: 12 kB / 0.7278 GB, free: 2.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.029, allocations: 0 / 0.7278 GB, free: 2.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.374e-05/1.029, allocations: 91.27 kB / 0.7279 GB, free: 2.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008829/1.03, allocations: 31.94 kB / 0.7279 GB, free: 2.559 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.0003047/1.03, allocations: 139.1 kB / 0.7281 GB, free: 2.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/1.03, allocations: 24 kB / 0.7281 GB, free: 2.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.03, allocations: 4 kB / 0.7281 GB, free: 2.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/1.03, allocations: 12 kB / 0.7281 GB, free: 2.371 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/1.031, allocations: 7.906 kB / 0.7281 GB, free: 2.363 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/1.031, allocations: 79.7 kB / 0.7282 GB, free: 2.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/1.031, allocations: 0.701 MB / 0.7289 GB, free: 1.539 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/1.031, allocations: 4 kB / 0.7289 GB, free: 1.535 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)