Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.8 MB / 297.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 185.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000962/0.0009616, allocations: 91.12 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2724/0.2734, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.9967, allocations: 116.3 MB / 0.9727 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/1.19, allocations: 138.4 MB / 1.108 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.19, allocations: 87.92 kB / 1.108 GB, free: 9.98 MB / 0.7136 GB 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.005326/1.196, allocations: 1.831 MB / 1.11 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.196, allocations: 8.688 kB / 1.11 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/1.196, allocations: 16.7 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/1.196, allocations: 165.7 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/1.196, allocations: 0 / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/1.196, allocations: 4.625 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.692e-05/1.196, allocations: 12.88 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/1.196, allocations: 45.62 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.196, allocations: 0.625 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.196, allocations: 0 / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/1.196, allocations: 0.5938 kB / 1.11 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/1.197, allocations: 146.9 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.525e-05/1.197, allocations: 35.14 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/1.197, allocations: 28.97 kB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/1.197, allocations: 0 / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/1.197, allocations: 30.56 kB / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/1.197, allocations: 0 / 1.11 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.002104/1.199, allocations: 480.8 kB / 1.111 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/1.199, allocations: 51.41 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/1.199, allocations: 88.98 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.199, allocations: 29.7 kB / 1.111 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/1.199, allocations: 80.14 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/1.199, allocations: 23.66 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/1.199, allocations: 0 / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/1.199, allocations: 318.7 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/1.199, allocations: 20 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/1.199, allocations: 23.94 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/1.199, allocations: 24 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/1.199, allocations: 0 / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001271/1.199, allocations: 81.69 kB / 1.111 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.199, allocations: 5.594 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.199, allocations: 4 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.2, allocations: 3.984 kB / 1.111 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/1.2, allocations: 15.94 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.2, allocations: 0 / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/1.2, allocations: 3.906 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/1.2, allocations: 4 kB / 1.111 GB, free: 6.215 MB / 0.7136 GB 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 0.0001111/1.2, allocations: 101 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/1.2, allocations: 4 kB / 1.111 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/1.2, allocations: 11.91 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/1.2, allocations: 11.89 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.2, allocations: 0 / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.2, allocations: 0 / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/1.2, allocations: 149.3 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/1.2, allocations: 3.938 kB / 1.112 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/1.2, allocations: 19.92 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/1.2, allocations: 0 / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.2, allocations: 1.5 kB / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.2, allocations: 0 / 1.112 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.2, allocations: 4 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002345/1.201, allocations: 133 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003672/1.201, allocations: 0.5431 MB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/1.201, allocations: 81.02 kB / 1.112 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.201, allocations: 128 / 1.112 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/1.201, allocations: 11.98 kB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/1.201, allocations: 4 kB / 1.112 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.201, allocations: 0 / 1.112 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.167e-05/1.201, allocations: 75.28 kB / 1.112 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000816/1.202, allocations: 12 kB / 1.112 GB, free: 4.957 MB / 0.7136 GB 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.0001609/1.202, allocations: 107.8 kB / 1.113 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001436/1.202, allocations: 59.94 kB / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.202, allocations: 4 kB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/1.202, allocations: 24 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/1.203, allocations: 9.5 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/1.203, allocations: 124.3 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/1.203, allocations: 0.6997 MB / 1.113 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/1.203, allocations: 0 / 1.113 GB, free: 3.875 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)