Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.6504/0.6504, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001058/0.001058, allocations: 193.2 kB / 164.4 MB, free: 6.887 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.42/1.42, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009547/0.0009547, allocations: 85.45 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3615/0.3625, allocations: 82.91 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.5329, allocations: 76.74 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/1.039, allocations: 103.1 MB / 0.7217 GB, free: 9.129 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.039, allocations: 95.91 kB / 0.7218 GB, free: 9.035 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.009737/1.049, allocations: 2.988 MB / 0.7248 GB, free: 6.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.049, allocations: 8 kB / 0.7248 GB, free: 6.008 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/1.049, allocations: 27.95 kB / 0.7248 GB, free: 5.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/1.05, allocations: 174.9 kB / 0.725 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/1.05, allocations: 0 / 0.725 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.05, allocations: 4 kB / 0.725 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.191e-05/1.05, allocations: 12 kB / 0.725 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.05, allocations: 53.66 kB / 0.725 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.05, allocations: 0.9375 kB / 0.725 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.05, allocations: 0 / 0.725 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.05, allocations: 3.938 kB / 0.725 GB, free: 5.691 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/1.05, allocations: 146.1 kB / 0.7252 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.05, allocations: 45.73 kB / 0.7252 GB, free: 5.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/1.05, allocations: 16.86 kB / 0.7252 GB, free: 5.441 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.05, allocations: 7.938 kB / 0.7252 GB, free: 5.434 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.05, allocations: 34.56 kB / 0.7253 GB, free: 5.391 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/1.05, allocations: 0 / 0.7253 GB, free: 5.391 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001856/1.052, allocations: 419.1 kB / 0.7257 GB, free: 4.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.052, allocations: 59.33 kB / 0.7257 GB, free: 4.859 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.503e-05/1.052, allocations: 89 kB / 0.7258 GB, free: 4.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/1.052, allocations: 25.7 kB / 0.7258 GB, free: 4.734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/1.052, allocations: 80.14 kB / 0.7259 GB, free: 4.652 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/1.053, allocations: 27.78 kB / 0.7259 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/1.053, allocations: 0 / 0.7259 GB, free: 4.625 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/1.053, allocations: 314.8 kB / 0.7262 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/1.053, allocations: 28 kB / 0.7263 GB, free: 4.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/1.053, allocations: 23.98 kB / 0.7263 GB, free: 4.258 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/1.053, allocations: 31.97 kB / 0.7263 GB, free: 4.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/1.053, allocations: 0 / 0.7263 GB, free: 4.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002226/1.053, allocations: 110 kB / 0.7264 GB, free: 4.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.053, allocations: 4 kB / 0.7264 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.053, allocations: 4 kB / 0.7264 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.053, allocations: 3.984 kB / 0.7264 GB, free: 4.098 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.053, allocations: 23.97 kB / 0.7265 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.053, allocations: 0 / 0.7265 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/1.054, allocations: 4.938 kB / 0.7265 GB, free: 4.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.054, allocations: 8.219 kB / 0.7265 GB, free: 4.062 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 (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 prepare postOptimizeDAE: time 9.156e-05/1.054, allocations: 104.9 kB / 0.7266 GB, free: 3.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.054, allocations: 7.984 kB / 0.7266 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.054, allocations: 18.03 kB / 0.7266 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.054, allocations: 0 / 0.7266 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.054, allocations: 0 / 0.7266 GB, free: 3.934 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.054, allocations: 7.891 kB / 0.7266 GB, free: 3.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/1.054, allocations: 165 kB / 0.7268 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.054, allocations: 0 / 0.7268 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/1.054, allocations: 31.89 kB / 0.7268 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.054, allocations: 0 / 0.7268 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.055, allocations: 3.984 kB / 0.7268 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.055, allocations: 7.938 kB / 0.7268 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/1.055, allocations: 0 / 0.7268 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003209/1.055, allocations: 172.9 kB / 0.727 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004705/1.055, allocations: 0.564 MB / 0.7275 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/1.055, allocations: 81.22 kB / 0.7276 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/1.055, allocations: 7.906 kB / 0.7276 GB, free: 2.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/1.056, allocations: 8 kB / 0.7276 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/1.056, allocations: 7.984 kB / 0.7276 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/1.056, allocations: 3.984 kB / 0.7276 GB, free: 2.789 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.032e-05/1.056, allocations: 79.28 kB / 0.7277 GB, free: 2.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008317/1.057, allocations: 39.94 kB / 0.7277 GB, free: 2.672 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002941/1.057, allocations: 127.3 kB / 0.7279 GB, free: 2.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/1.057, allocations: 67.95 kB / 0.7279 GB, free: 2.469 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.057, allocations: 0 / 0.7279 GB, free: 2.469 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/1.057, allocations: 39.92 kB / 0.728 GB, free: 2.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/1.057, allocations: 4 kB / 0.728 GB, free: 2.426 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/1.058, allocations: 132.1 kB / 0.7281 GB, free: 2.273 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/1.058, allocations: 0.7114 MB / 0.7288 GB, free: 1.535 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/1.058, allocations: 0 / 0.7288 GB, free: 1.535 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)