Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity",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.0.0/package.mo): time 2.335/2.335, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001613/0.001612, allocations: 177.2 kB / 360.3 MB, free: 7.535 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.773/1.773, allocations: 205.2 MB / 0.6187 GB, free: 13.18 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.001173/0.001173, allocations: 90.56 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2799/0.2811, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.9236, allocations: 115.2 MB / 0.9628 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.832/5.756, allocations: 2.054 GB / 3.017 GB, free: 63.71 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/5.756, allocations: 93.31 kB / 3.017 GB, free: 63.66 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.09472/5.851, allocations: 28.06 MB / 3.044 GB, free: 39.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/5.851, allocations: 8.5 kB / 3.044 GB, free: 39.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/5.851, allocations: 7.906 kB / 3.044 GB, free: 39.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/5.851, allocations: 160.3 kB / 3.045 GB, free: 39.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/5.851, allocations: 0 / 3.045 GB, free: 39.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/5.851, allocations: 5.875 kB / 3.045 GB, free: 39.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002101/5.852, allocations: 75.91 kB / 3.045 GB, free: 39.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/5.852, allocations: 89.61 kB / 3.045 GB, free: 39.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/5.852, allocations: 3.984 kB / 3.045 GB, free: 39.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/5.852, allocations: 0 / 3.045 GB, free: 39.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/5.852, allocations: 15.91 kB / 3.045 GB, free: 39.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005275/5.852, allocations: 305.3 kB / 3.045 GB, free: 38.93 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/5.853, allocations: 92.08 kB / 3.045 GB, free: 38.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/5.853, allocations: 46.25 kB / 3.045 GB, free: 38.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009697/5.854, allocations: 473.4 kB / 3.046 GB, free: 38.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/5.854, allocations: 34.47 kB / 3.046 GB, free: 38.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/5.854, allocations: 0 / 3.046 GB, free: 38.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.1774/6.031, allocations: 9.271 MB / 3.055 GB, free: 28.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/6.031, allocations: 51.62 kB / 3.055 GB, free: 28.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.959e-05/6.031, allocations: 104.9 kB / 3.055 GB, free: 28.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/6.031, allocations: 29.64 kB / 3.055 GB, free: 28.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/6.031, allocations: 104.2 kB / 3.055 GB, free: 28.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/6.031, allocations: 35.45 kB / 3.055 GB, free: 28.55 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/6.031, allocations: 1.5 kB / 3.055 GB, free: 28.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.092e-05/6.031, allocations: 318.8 kB / 3.055 GB, free: 28.23 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/6.032, allocations: 23.98 kB / 3.055 GB, free: 28.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/6.032, allocations: 76.31 kB / 3.055 GB, free: 28.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2005/6.232, allocations: 9.222 MB / 3.065 GB, free: 18.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/6.232, allocations: 4 kB / 3.065 GB, free: 18.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.1754/6.408, allocations: 9.302 MB / 3.074 GB, free: 9.559 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/6.408, allocations: 4 kB / 3.074 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/6.408, allocations: 3.938 kB / 3.074 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/6.408, allocations: 4 kB / 3.074 GB, free: 9.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/6.408, allocations: 24.92 kB / 3.074 GB, free: 9.523 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/6.408, allocations: 7.938 kB / 3.074 GB, free: 9.516 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/6.408, allocations: 12 kB / 3.074 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/6.408, allocations: 8 kB / 3.074 GB, free: 9.496 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.812e-05/6.408, allocations: 112.7 kB / 3.074 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/6.408, allocations: 7.906 kB / 3.074 GB, free: 9.371 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1818/6.59, allocations: 9.304 MB / 3.083 GB, free: 60 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/6.59, allocations: 3.906 kB / 3.083 GB, free: 56 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/6.59, allocations: 0 / 3.083 GB, free: 56 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/6.59, allocations: 9.359 kB / 3.083 GB, free: 48 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.368/6.958, allocations: 157.4 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/6.958, allocations: 0 / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/6.959, allocations: 16.41 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/6.959, allocations: 3.938 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/6.959, allocations: 3.797 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/6.959, allocations: 2.344 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/6.959, allocations: 1.812 kB / 3.083 GB, free: 424.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1897/7.148, allocations: 9.37 MB / 3.092 GB, free: 424.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1757/7.324, allocations: 9.769 MB / 3.102 GB, free: 423.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/7.324, allocations: 96.48 kB / 3.102 GB, free: 423 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/7.324, allocations: 0 / 3.102 GB, free: 423 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.854e-05/7.324, allocations: 0 / 3.102 GB, free: 423 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/7.325, allocations: 7.656 kB / 3.102 GB, free: 423 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/7.325, allocations: 4 kB / 3.102 GB, free: 423 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.96e-05/7.325, allocations: 90.19 kB / 3.102 GB, free: 422.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001551/7.326, allocations: 168.1 kB / 3.102 GB, free: 422.9 MB / 0.948 GB 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 (11): * Single equations (assignments): 11 * 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.001197/7.327, allocations: 0.7215 MB / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002898/7.328, allocations: 70.56 kB / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/7.328, allocations: 0 / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/7.328, allocations: 40.25 kB / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/7.328, allocations: 12.81 kB / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/7.328, allocations: 114.6 kB / 3.103 GB, free: 422.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/7.329, allocations: 0.7101 MB / 3.104 GB, free: 422 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/7.329, allocations: 0 / 3.104 GB, free: 422 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)