Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.7013/0.7013, 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.001168/0.001168, 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.693/1.693, allocations: 205.1 MB / 399.1 MB, free: 6.109 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.0009231/0.0009234, allocations: 94.14 kB / 476.3 MB, free: 8.855 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3146/0.3155, allocations: 82.9 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.4911, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.9907, allocations: 102.1 MB / 0.7207 GB, free: 10.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.991, allocations: 88.69 kB / 0.7208 GB, free: 10.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.006121/0.9971, allocations: 1.932 MB / 0.7227 GB, free: 8.207 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.9972, allocations: 8 kB / 0.7227 GB, free: 8.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.9974, allocations: 15.98 kB / 0.7227 GB, free: 8.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.9975, allocations: 159.1 kB / 0.7228 GB, free: 7.988 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.9975, allocations: 3.906 kB / 0.7228 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.9976, allocations: 7.984 kB / 0.7229 GB, free: 7.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.881e-05/0.9977, allocations: 15.94 kB / 0.7229 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.749e-05/0.9977, allocations: 41.52 kB / 0.7229 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9978, allocations: 3.984 kB / 0.7229 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9978, allocations: 0 / 0.7229 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.9978, allocations: 3.984 kB / 0.7229 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.998, allocations: 138.2 kB / 0.7231 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.9981, allocations: 42.56 kB / 0.7231 GB, free: 7.688 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.9981, allocations: 16.98 kB / 0.7231 GB, free: 7.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.9981, allocations: 4 kB / 0.7231 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.9982, allocations: 34.5 kB / 0.7231 GB, free: 7.621 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.9982, allocations: 0 / 0.7231 GB, free: 7.621 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.002174/1, allocations: 470.1 kB / 0.7236 GB, free: 7.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/1, allocations: 55.41 kB / 0.7236 GB, free: 7.043 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.239e-05/1, allocations: 85 kB / 0.7237 GB, free: 6.953 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1, allocations: 25.7 kB / 0.7238 GB, free: 6.922 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/1.001, allocations: 81.08 kB / 0.7238 GB, free: 6.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/1.001, allocations: 35.48 kB / 0.7239 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/1.001, allocations: 0 / 0.7239 GB, free: 6.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/1.001, allocations: 310.8 kB / 0.7242 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/1.001, allocations: 20 kB / 0.7242 GB, free: 6.473 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.607e-05/1.001, allocations: 20 kB / 0.7242 GB, free: 6.453 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/1.001, allocations: 32.11 kB / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/1.001, allocations: 0 / 0.7242 GB, free: 6.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001378/1.001, allocations: 89.53 kB / 0.7243 GB, free: 6.328 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.001, allocations: 4 kB / 0.7243 GB, free: 6.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.001, allocations: 4 kB / 0.7243 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.001, allocations: 0 / 0.7243 GB, free: 6.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.001, allocations: 15.98 kB / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.001, allocations: 0 / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/1.001, allocations: 0 / 0.7243 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.001, allocations: 4 kB / 0.7243 GB, free: 6.301 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 (9): * Single equations (assignments): 9 * 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.396e-05/1.001, allocations: 108.9 kB / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/1.001, allocations: 0 / 0.7244 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/1.001, allocations: 11.91 kB / 0.7245 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.001, allocations: 4 kB / 0.7245 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.001, allocations: 0 / 0.7245 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.001, allocations: 3.938 kB / 0.7245 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/1.002, allocations: 155.9 kB / 0.7246 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.002, allocations: 0 / 0.7246 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/1.002, allocations: 15.98 kB / 0.7246 GB, free: 5.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.002, allocations: 3.938 kB / 0.7246 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/1.002, allocations: 4 kB / 0.7246 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/1.002, allocations: 0 / 0.7246 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.002, allocations: 0.625 kB / 0.7246 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002277/1.002, allocations: 137.4 kB / 0.7248 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003316/1.002, allocations: 0.5444 MB / 0.7253 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/1.002, allocations: 81.11 kB / 0.7254 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/1.002, allocations: 0 / 0.7254 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.003, allocations: 4 kB / 0.7254 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/1.003, allocations: 11.98 kB / 0.7254 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/1.003, allocations: 3.938 kB / 0.7254 GB, free: 5.125 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.249e-05/1.003, allocations: 75.28 kB / 0.7255 GB, free: 5.051 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007456/1.003, allocations: 16 kB / 0.7255 GB, free: 5.035 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 (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 Backend phase and start with SimCode phase: time 0.0001476/1.004, allocations: 107.3 kB / 0.7256 GB, free: 4.918 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/1.004, allocations: 59.94 kB / 0.7256 GB, free: 4.859 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.004, allocations: 0 / 0.7256 GB, free: 4.859 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/1.004, allocations: 24 kB / 0.7257 GB, free: 4.836 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/1.004, allocations: 4 kB / 0.7257 GB, free: 4.832 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.004, allocations: 128.2 kB / 0.7258 GB, free: 4.684 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.005, allocations: 0.7036 MB / 0.7265 GB, free: 3.953 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/1.005, allocations: 0 / 0.7265 GB, free: 3.953 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)