Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.6793/0.6793, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001141/0.001141, allocations: 185.3 kB / 164.4 MB, free: 6.883 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.566/1.566, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001079/0.001079, allocations: 85.91 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3397/0.3408, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.539, allocations: 76.74 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/1.105, allocations: 102.1 MB / 0.7207 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/1.105, allocations: 83.94 kB / 0.7208 GB, free: 10.11 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.00466/1.11, allocations: 1.543 MB / 0.7223 GB, free: 8.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.11, allocations: 12 kB / 0.7223 GB, free: 8.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/1.11, allocations: 15.97 kB / 0.7223 GB, free: 8.504 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/1.11, allocations: 175 kB / 0.7225 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/1.11, allocations: 3.906 kB / 0.7225 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.11, allocations: 0 / 0.7225 GB, free: 8.289 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.421e-05/1.11, allocations: 15.98 kB / 0.7225 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.975e-05/1.111, allocations: 33.7 kB / 0.7225 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.111, allocations: 0 / 0.7225 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/1.111, allocations: 4 kB / 0.7225 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.111, allocations: 0.9375 kB / 0.7226 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/1.111, allocations: 138.2 kB / 0.7227 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/1.113, allocations: 282.3 kB / 0.723 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/1.113, allocations: 16.86 kB / 0.723 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/1.113, allocations: 0 / 0.723 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/1.113, allocations: 38.56 kB / 0.723 GB, free: 7.707 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.113, allocations: 0 / 0.723 GB, free: 7.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001439/1.113, allocations: 45.78 kB / 0.723 GB, free: 7.656 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/1.113, allocations: 51.41 kB / 0.7231 GB, free: 7.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.937e-05/1.113, allocations: 93 kB / 0.7232 GB, free: 7.496 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/1.113, allocations: 29.64 kB / 0.7232 GB, free: 7.461 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/1.113, allocations: 80.14 kB / 0.7233 GB, free: 7.379 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/1.113, allocations: 11.94 kB / 0.7233 GB, free: 7.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/1.113, allocations: 0 / 0.7233 GB, free: 7.367 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/1.113, allocations: 314.8 kB / 0.7236 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/1.113, allocations: 12 kB / 0.7236 GB, free: 7.039 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/1.113, allocations: 11.94 kB / 0.7236 GB, free: 7.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/1.113, allocations: 7.938 kB / 0.7236 GB, free: 7.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.113, allocations: 0 / 0.7236 GB, free: 7.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.641e-05/1.113, allocations: 57.59 kB / 0.7237 GB, free: 6.957 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.113, allocations: 4 kB / 0.7237 GB, free: 6.953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.113, allocations: 0 / 0.7237 GB, free: 6.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.113, allocations: 4 kB / 0.7237 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/1.114, allocations: 4 kB / 0.7237 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.114, allocations: 3.984 kB / 0.7237 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.217e-05/1.114, allocations: 6.312 kB / 0.7237 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/1.114, allocations: 0 / 0.7237 GB, free: 6.938 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 (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 6.692e-05/1.114, allocations: 101 kB / 0.7238 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/1.114, allocations: 11.89 kB / 0.7238 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/1.114, allocations: 7.531 kB / 0.7238 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.114, allocations: 0 / 0.7238 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.114, allocations: 4 kB / 0.7238 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.114, allocations: 192 / 0.7238 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/1.114, allocations: 142.1 kB / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.114, allocations: 0 / 0.724 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/1.114, allocations: 11.98 kB / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/1.114, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.114, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.114, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.114, allocations: 0 / 0.724 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001039/1.114, allocations: 83.59 kB / 0.7241 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002309/1.114, allocations: 453.5 kB / 0.7245 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/1.114, allocations: 89 kB / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/1.114, allocations: 0 / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/1.115, allocations: 0.875 kB / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/1.115, allocations: 0 / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/1.115, allocations: 8 kB / 0.7246 GB, free: 5.945 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.311e-05/1.115, allocations: 75.28 kB / 0.7247 GB, free: 5.871 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008137/1.115, allocations: 4 kB / 0.7247 GB, free: 5.867 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 (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.0001694/1.116, allocations: 103.2 kB / 0.7248 GB, free: 5.758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/1.116, allocations: 20 kB / 0.7248 GB, free: 5.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.116, allocations: 3.938 kB / 0.7248 GB, free: 5.734 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.566e-05/1.116, allocations: 19.88 kB / 0.7248 GB, free: 5.715 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.116, allocations: 15.98 kB / 0.7248 GB, free: 5.699 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/1.116, allocations: 64 kB / 0.7249 GB, free: 5.613 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/1.117, allocations: 0.6915 MB / 0.7255 GB, free: 4.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/1.117, allocations: 0 / 0.7255 GB, free: 4.898 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)