Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.7352/0.7352, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001185/0.001184, allocations: 177.3 kB / 164.4 MB, free: 6.879 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.618/1.618, allocations: 205.1 MB / 399.1 MB, free: 6.133 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.001138/0.001137, allocations: 82.53 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2951/0.2963, allocations: 82.88 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.4393, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3983/0.8377, allocations: 104.2 MB / 0.7227 GB, free: 8.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.8379, allocations: 79.95 kB / 0.7228 GB, free: 8.012 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01153/0.8495, allocations: 3.716 MB / 0.7264 GB, free: 4.258 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8495, allocations: 8 kB / 0.7264 GB, free: 4.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.8498, allocations: 31.88 kB / 0.7265 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.85, allocations: 192.3 kB / 0.7267 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.8501, allocations: 33.69 kB / 0.7267 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.8501, allocations: 11.94 kB / 0.7267 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001709/0.8503, allocations: 51.91 kB / 0.7268 GB, free: 3.891 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.8505, allocations: 73.61 kB / 0.7268 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8505, allocations: 0 / 0.7268 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.8506, allocations: 0 / 0.7268 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.8506, allocations: 4 kB / 0.7268 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/0.8513, allocations: 349 kB / 0.7272 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.8518, allocations: 110.6 kB / 0.7273 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.8519, allocations: 24.86 kB / 0.7273 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.8519, allocations: 4 kB / 0.7273 GB, free: 3.281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.852, allocations: 42.5 kB / 0.7273 GB, free: 3.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.852, allocations: 0 / 0.7273 GB, free: 3.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.8522, allocations: 69.8 kB / 0.7274 GB, free: 3.156 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.8522, allocations: 51.41 kB / 0.7274 GB, free: 3.094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.423e-05/0.8523, allocations: 116.2 kB / 0.7276 GB, free: 2.973 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.8524, allocations: 25.7 kB / 0.7276 GB, free: 2.941 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.8524, allocations: 99.97 kB / 0.7277 GB, free: 2.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8524, allocations: 23.56 kB / 0.7277 GB, free: 2.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.8525, allocations: 0 / 0.7277 GB, free: 2.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8526, allocations: 322.8 kB / 0.728 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.8526, allocations: 16 kB / 0.728 GB, free: 2.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.8527, allocations: 29.72 kB / 0.7281 GB, free: 2.441 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.8527, allocations: 20.12 kB / 0.7281 GB, free: 2.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.8527, allocations: 0 / 0.7281 GB, free: 2.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000135/0.8529, allocations: 89.53 kB / 0.7282 GB, free: 2.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.8529, allocations: 4 kB / 0.7282 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8529, allocations: 7.938 kB / 0.7282 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8529, allocations: 0 / 0.7282 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.8531, allocations: 19.98 kB / 0.7282 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8531, allocations: 0 / 0.7282 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8532, allocations: 15.94 kB / 0.7282 GB, free: 2.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.8532, allocations: 4 kB / 0.7282 GB, free: 2.277 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 (8): * Single equations (assignments): 8 * 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.471e-05/0.8533, allocations: 108.9 kB / 0.7283 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.8533, allocations: 7.906 kB / 0.7283 GB, free: 2.156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.8534, allocations: 8.375 kB / 0.7283 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8534, allocations: 0 / 0.7283 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8534, allocations: 4 kB / 0.7283 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.8534, allocations: 0 / 0.7283 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.8536, allocations: 178.1 kB / 0.7285 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8536, allocations: 0 / 0.7285 GB, free: 1.938 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.8537, allocations: 19.98 kB / 0.7285 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.8537, allocations: 0 / 0.7285 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.8538, allocations: 0 / 0.7285 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8538, allocations: 0 / 0.7285 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8538, allocations: 3.938 kB / 0.7285 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001836/0.854, allocations: 179.8 kB / 0.7287 GB, free: 1.723 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003103/0.8543, allocations: 0.5466 MB / 0.7292 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.8543, allocations: 85.02 kB / 0.7293 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.8544, allocations: 0 / 0.7293 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.8546, allocations: 23.97 kB / 0.7293 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.8546, allocations: 0 / 0.7293 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.8546, allocations: 7.984 kB / 0.7293 GB, free: 1.023 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.504e-05/0.8547, allocations: 91.28 kB / 0.7294 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008127/0.8555, allocations: 23.84 kB / 0.7294 GB, free: 0.9102 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 (7): * Single equations (assignments): 7 * 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.0001465/0.8557, allocations: 107.2 kB / 0.7296 GB, free: 0.793 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.8558, allocations: 43.94 kB / 0.7296 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8558, allocations: 0 / 0.7296 GB, free: 0.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.724e-05/0.8559, allocations: 24 kB / 0.7296 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.8562, allocations: 15.98 kB / 0.7296 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.8566, allocations: 135.4 kB / 0.7298 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.857, allocations: 0.7191 MB / 0.7305 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.857, allocations: 4 kB / 0.7305 GB, free: 15.81 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)