Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.00112/0.00112, allocations: 185.2 kB / 366.3 MB, free: 2.004 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.65/1.65, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001005/0.001005, allocations: 89.53 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3172/0.3182, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7538/1.072, allocations: 116.3 MB / 0.9727 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/1.265, allocations: 139.4 MB / 1.109 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.266, allocations: 90.78 kB / 1.109 GB, free: 8.965 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009366/1.275, allocations: 2.868 MB / 1.112 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.275, allocations: 8 kB / 1.112 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/1.276, allocations: 31.86 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/1.276, allocations: 167.1 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.276, allocations: 0 / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/1.276, allocations: 4 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/1.276, allocations: 19.98 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/1.276, allocations: 53.59 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.276, allocations: 0 / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/1.276, allocations: 4.531 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.276, allocations: 0 / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/1.276, allocations: 146.1 kB / 1.112 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/1.277, allocations: 37.75 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/1.277, allocations: 24.94 kB / 1.112 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.277, allocations: 4 kB / 1.112 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.277, allocations: 32.44 kB / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/1.277, allocations: 0 / 1.112 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001826/1.279, allocations: 426.5 kB / 1.113 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/1.279, allocations: 55.41 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/1.279, allocations: 85 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.279, allocations: 25.7 kB / 1.113 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/1.279, allocations: 92.12 kB / 1.113 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/1.279, allocations: 15.88 kB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/1.279, allocations: 0 / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.279, allocations: 322.8 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.815e-05/1.279, allocations: 23.98 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/1.279, allocations: 31.34 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/1.279, allocations: 31.92 kB / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/1.279, allocations: 0 / 1.113 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002038/1.279, allocations: 97.64 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.279, allocations: 6.812 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.279, allocations: 0.625 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/1.279, allocations: 4 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/1.28, allocations: 31.88 kB / 1.113 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.28, allocations: 3.984 kB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.28, allocations: 5.688 kB / 1.113 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/1.28, allocations: 8.672 kB / 1.113 GB, free: 4.125 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 (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 8.219e-05/1.28, allocations: 101 kB / 1.113 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/1.28, allocations: 7.906 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/1.28, allocations: 16.06 kB / 1.114 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.28, allocations: 4 kB / 1.114 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.28, allocations: 3.938 kB / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.28, allocations: 192 / 1.114 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/1.28, allocations: 162.8 kB / 1.114 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.28, allocations: 4.625 kB / 1.114 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/1.281, allocations: 23.97 kB / 1.114 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.281, allocations: 3.984 kB / 1.114 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.281, allocations: 7.984 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/1.281, allocations: 11.97 kB / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.281, allocations: 0 / 1.114 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003242/1.281, allocations: 158.2 kB / 1.114 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004705/1.282, allocations: 0.5678 MB / 1.114 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.076e-05/1.282, allocations: 85.14 kB / 1.115 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/1.282, allocations: 4 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/1.282, allocations: 11.98 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/1.282, allocations: 0 / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/1.282, allocations: 7.984 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.658e-05/1.282, allocations: 79.34 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001002/1.283, allocations: 35.98 kB / 1.115 GB, free: 2.734 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 (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.0002767/1.283, allocations: 139.3 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001883/1.283, allocations: 67.91 kB / 1.115 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.283, allocations: 0 / 1.115 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/1.283, allocations: 40.81 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/1.284, allocations: 7.906 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006638/1.284, allocations: 128.2 kB / 1.115 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.285, allocations: 0.7075 MB / 1.116 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/1.285, allocations: 3.938 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)