Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.7031/0.7031, 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.001166/0.001166, allocations: 189.2 kB / 164.4 MB, free: 6.867 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.584/1.584, 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.0009773/0.000977, allocations: 80.44 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3327/0.3337, allocations: 82.88 MB / 0.546 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.5198, allocations: 76.76 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/1.008, allocations: 102.6 MB / 0.7212 GB, free: 9.703 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/1.009, allocations: 75.95 kB / 0.7212 GB, free: 9.629 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008411/1.017, allocations: 2.568 MB / 0.7238 GB, free: 7.023 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/1.017, allocations: 12 kB / 0.7238 GB, free: 7.012 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/1.017, allocations: 11.91 kB / 0.7238 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.017, allocations: 175.6 kB / 0.7239 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-05/1.017, allocations: 33.69 kB / 0.724 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/1.018, allocations: 4 kB / 0.724 GB, free: 6.746 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.443e-05/1.018, allocations: 16 kB / 0.724 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/1.018, allocations: 49.69 kB / 0.724 GB, free: 6.676 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/1.018, allocations: 4 kB / 0.724 GB, free: 6.672 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/1.018, allocations: 4 kB / 0.7241 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.018, allocations: 0 / 0.7241 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/1.018, allocations: 285.1 kB / 0.7243 GB, free: 6.352 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/1.019, allocations: 42.56 kB / 0.7244 GB, free: 6.301 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/1.019, allocations: 16.86 kB / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/1.019, allocations: 0 / 0.7244 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.019, allocations: 30.56 kB / 0.7244 GB, free: 6.242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/1.019, allocations: 0 / 0.7244 GB, free: 6.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/1.019, allocations: 49.7 kB / 0.7245 GB, free: 6.188 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.019, allocations: 64.36 kB / 0.7245 GB, free: 6.113 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/1.019, allocations: 104.9 kB / 0.7246 GB, free: 6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/1.019, allocations: 25.7 kB / 0.7246 GB, free: 5.969 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/1.019, allocations: 84.14 kB / 0.7247 GB, free: 5.883 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/1.019, allocations: 15.8 kB / 0.7247 GB, free: 5.867 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/1.019, allocations: 0 / 0.7247 GB, free: 5.867 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/1.019, allocations: 310.8 kB / 0.725 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/1.019, allocations: 12 kB / 0.725 GB, free: 5.543 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/1.019, allocations: 25.72 kB / 0.7251 GB, free: 5.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/1.019, allocations: 15.98 kB / 0.7251 GB, free: 5.496 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.019, allocations: 3.938 kB / 0.7251 GB, free: 5.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.761e-05/1.02, allocations: 65.56 kB / 0.7252 GB, free: 5.422 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.02, allocations: 8 kB / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.02, allocations: 0 / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.02, allocations: 0 / 0.7252 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/1.02, allocations: 20.02 kB / 0.7252 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/1.02, allocations: 0 / 0.7252 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/1.02, allocations: 11.94 kB / 0.7252 GB, free: 5.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/1.02, allocations: 4 kB / 0.7252 GB, free: 5.379 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.365e-05/1.02, allocations: 104.9 kB / 0.7253 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/1.02, allocations: 4 kB / 0.7253 GB, free: 5.266 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/1.02, allocations: 19.92 kB / 0.7253 GB, free: 5.246 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.02, allocations: 3.906 kB / 0.7253 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.02, allocations: 0 / 0.7253 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.02, allocations: 0 / 0.7253 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/1.02, allocations: 142.2 kB / 0.7255 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/1.02, allocations: 0 / 0.7255 GB, free: 5.066 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/1.02, allocations: 23.92 kB / 0.7255 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.02, allocations: 0 / 0.7255 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.02, allocations: 8 kB / 0.7255 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.02, allocations: 0 / 0.7255 GB, free: 5.035 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.02, allocations: 3.906 kB / 0.7255 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001153/1.02, allocations: 143.5 kB / 0.7256 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002352/1.021, allocations: 0.5155 MB / 0.7261 GB, free: 4.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/1.021, allocations: 89.02 kB / 0.7262 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/1.021, allocations: 0 / 0.7262 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.021, allocations: 15.98 kB / 0.7262 GB, free: 4.219 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/1.021, allocations: 3.938 kB / 0.7262 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/1.021, allocations: 7.984 kB / 0.7262 GB, free: 4.207 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.925e-05/1.021, allocations: 91.34 kB / 0.7263 GB, free: 4.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007627/1.022, allocations: 11.91 kB / 0.7263 GB, free: 4.105 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.0001267/1.022, allocations: 95.25 kB / 0.7264 GB, free: 4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.253e-05/1.022, allocations: 24 kB / 0.7265 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/1.022, allocations: 0 / 0.7265 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/1.022, allocations: 19.92 kB / 0.7265 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/1.022, allocations: 4 kB / 0.7265 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/1.023, allocations: 80.03 kB / 0.7266 GB, free: 3.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/1.023, allocations: 0.6993 MB / 0.7272 GB, free: 3.125 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/1.023, allocations: 0 / 0.7272 GB, free: 3.125 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)