Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.697/0.697, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001098/0.001099, allocations: 181.3 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.711/1.711, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.0009206/0.0009206, allocations: 93.81 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3288/0.3297, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.503, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4987/1.002, allocations: 104.3 MB / 0.7229 GB, free: 7.98 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/1.002, allocations: 87.94 kB / 0.723 GB, free: 7.895 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0237/1.026, allocations: 7.865 MB / 0.7306 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.026, allocations: 12 kB / 0.7307 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/1.026, allocations: 9.016 kB / 0.7307 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/1.026, allocations: 163.1 kB / 0.7308 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/1.026, allocations: 3.906 kB / 0.7308 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.026, allocations: 0 / 0.7308 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.296e-05/1.026, allocations: 12 kB / 0.7308 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.548e-05/1.026, allocations: 41.69 kB / 0.7309 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/1.026, allocations: 0 / 0.7309 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.027, allocations: 0 / 0.7309 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.027, allocations: 7.984 kB / 0.7309 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/1.027, allocations: 130.2 kB / 0.731 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/1.028, allocations: 134.4 kB / 0.7311 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/1.028, allocations: 28.78 kB / 0.7312 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/1.028, allocations: 85.11 kB / 0.7312 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.028, allocations: 34.64 kB / 0.7313 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/1.028, allocations: 0 / 0.7313 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002238/1.028, allocations: 45.69 kB / 0.7313 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/1.028, allocations: 55.41 kB / 0.7314 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/1.028, allocations: 89 kB / 0.7315 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.028, allocations: 29.83 kB / 0.7315 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/1.028, allocations: 80.14 kB / 0.7316 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/1.028, allocations: 11.75 kB / 0.7316 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/1.028, allocations: 7.938 kB / 0.7316 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.029, allocations: 310.8 kB / 0.7319 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/1.029, allocations: 8 kB / 0.7319 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/1.029, allocations: 11.98 kB / 0.7319 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/1.029, allocations: 4 kB / 0.7319 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.029, allocations: 0 / 0.7319 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/1.029, allocations: 57.59 kB / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.029, allocations: 4 kB / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.029, allocations: 0 / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.029, allocations: 0 / 0.732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/1.029, allocations: 11.98 kB / 0.732 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.029, allocations: 0 / 0.732 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.018e-05/1.029, allocations: 0 / 0.732 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/1.029, allocations: 4 kB / 0.732 GB, free: 14.45 MB / 0.4948 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 8.017e-05/1.029, allocations: 104.9 kB / 0.7321 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/1.029, allocations: 7.906 kB / 0.7321 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/1.029, allocations: 65.2 kB / 0.7321 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/1.029, allocations: 0 / 0.7321 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.029, allocations: 8 kB / 0.7322 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/1.029, allocations: 0 / 0.7322 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/1.029, allocations: 142.1 kB / 0.7323 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.029, allocations: 0 / 0.7323 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/1.029, allocations: 11.94 kB / 0.7323 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.029, allocations: 3.938 kB / 0.7323 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.03, allocations: 3.984 kB / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.03, allocations: 0 / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.03, allocations: 0 / 0.7323 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001409/1.03, allocations: 97.73 kB / 0.7324 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002424/1.03, allocations: 461.4 kB / 0.7328 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/1.03, allocations: 77.11 kB / 0.7329 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/1.03, allocations: 3.984 kB / 0.7329 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.763e-05/1.03, allocations: 4 kB / 0.7329 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/1.03, allocations: 0 / 0.7329 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/1.03, allocations: 4 kB / 0.7329 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.684e-05/1.03, allocations: 79.28 kB / 0.733 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008862/1.031, allocations: 67.86 kB / 0.7331 GB, free: 13.23 MB / 0.4948 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 (5): * Single equations (assignments): 5 * 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.0006154/1.032, allocations: 213.5 kB / 0.7333 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.435e-05/1.032, allocations: 20 kB / 0.7333 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.032, allocations: 0 / 0.7333 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/1.032, allocations: 23.92 kB / 0.7333 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/1.032, allocations: 7.984 kB / 0.7333 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/1.032, allocations: 66.3 kB / 0.7334 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/1.033, allocations: 0.6876 MB / 0.7341 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/1.033, allocations: 3.938 kB / 0.7341 GB, free: 12.16 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)