Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.00107/0.00107, allocations: 181.2 kB / 361.1 MB, free: 7.105 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.237/1.237, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.000819/0.0008191, allocations: 87.98 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2226/0.2235, allocations: 121.5 MB / 0.8512 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.799, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.073/3.873, allocations: 2.054 GB / 3.018 GB, free: 102 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/3.873, allocations: 101.7 kB / 3.018 GB, free: 101.9 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.05066/3.923, allocations: 28.04 MB / 3.046 GB, free: 73.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/3.923, allocations: 8.5 kB / 3.046 GB, free: 73.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/3.924, allocations: 7.906 kB / 3.046 GB, free: 73.79 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/3.924, allocations: 171.9 kB / 3.046 GB, free: 73.58 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/3.924, allocations: 0 / 3.046 GB, free: 73.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/3.924, allocations: 4 kB / 3.046 GB, free: 73.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/3.924, allocations: 71.97 kB / 3.046 GB, free: 73.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/3.924, allocations: 81.67 kB / 3.046 GB, free: 73.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/3.924, allocations: 3.938 kB / 3.046 GB, free: 73.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/3.924, allocations: 0 / 3.046 GB, free: 73.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/3.924, allocations: 19.89 kB / 3.046 GB, free: 73.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/3.924, allocations: 317.2 kB / 3.046 GB, free: 73.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/3.925, allocations: 89.7 kB / 3.046 GB, free: 72.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/3.925, allocations: 48.91 kB / 3.046 GB, free: 72.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/3.925, allocations: 453.5 kB / 3.047 GB, free: 72.37 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/3.925, allocations: 46.47 kB / 3.047 GB, free: 72.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/3.925, allocations: 0 / 3.047 GB, free: 72.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.08433/4.01, allocations: 9.268 MB / 3.056 GB, free: 63.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/4.01, allocations: 51.41 kB / 3.056 GB, free: 62.97 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.756e-05/4.01, allocations: 109.1 kB / 3.056 GB, free: 62.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/4.01, allocations: 26.55 kB / 3.056 GB, free: 62.82 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/4.01, allocations: 104.2 kB / 3.056 GB, free: 62.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/4.01, allocations: 39.45 kB / 3.056 GB, free: 62.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/4.01, allocations: 0 / 3.056 GB, free: 62.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/4.01, allocations: 318.8 kB / 3.057 GB, free: 62.36 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/4.01, allocations: 24 kB / 3.057 GB, free: 62.33 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/4.01, allocations: 69.12 kB / 3.057 GB, free: 62.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08438/4.094, allocations: 9.222 MB / 3.066 GB, free: 53.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/4.094, allocations: 0 / 3.066 GB, free: 53.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.08433/4.179, allocations: 9.31 MB / 3.075 GB, free: 43.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/4.179, allocations: 4 kB / 3.075 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/4.179, allocations: 5.641 kB / 3.075 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/4.179, allocations: 4 kB / 3.075 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/4.179, allocations: 28.73 kB / 3.075 GB, free: 43.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/4.179, allocations: 7.984 kB / 3.075 GB, free: 43.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/4.179, allocations: 11.78 kB / 3.075 GB, free: 43.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/4.179, allocations: 12 kB / 3.075 GB, free: 43.62 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 5.471e-05/4.179, allocations: 101 kB / 3.075 GB, free: 43.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/4.179, allocations: 7.906 kB / 3.075 GB, free: 43.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08425/4.263, allocations: 9.3 MB / 3.084 GB, free: 34.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/4.264, allocations: 3.906 kB / 3.084 GB, free: 34.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/4.264, allocations: 1.188 kB / 3.084 GB, free: 34.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/4.264, allocations: 3.984 kB / 3.084 GB, free: 34.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/4.264, allocations: 157.9 kB / 3.084 GB, free: 34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/4.264, allocations: 4 kB / 3.084 GB, free: 33.99 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/4.264, allocations: 27.89 kB / 3.084 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/4.264, allocations: 3.984 kB / 3.084 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/4.264, allocations: 4 kB / 3.084 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/4.264, allocations: 0 / 3.084 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/4.264, allocations: 1.5 kB / 3.084 GB, free: 33.96 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08336/4.347, allocations: 9.37 MB / 3.093 GB, free: 24.56 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08388/4.431, allocations: 9.757 MB / 3.103 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/4.431, allocations: 97 kB / 3.103 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/4.431, allocations: 0 / 3.103 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/4.431, allocations: 0 / 3.103 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/4.431, allocations: 11.92 kB / 3.103 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/4.431, allocations: 0 / 3.103 GB, free: 14.64 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.845e-05/4.431, allocations: 87.97 kB / 3.103 GB, free: 14.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001109/4.433, allocations: 175.8 kB / 3.103 GB, free: 14.39 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.0009293/4.433, allocations: 0.7357 MB / 3.104 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000176/4.434, allocations: 74.66 kB / 3.104 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/4.434, allocations: 4 kB / 3.104 GB, free: 13.58 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/4.434, allocations: 35.92 kB / 3.104 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/4.434, allocations: 12.31 kB / 3.104 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/4.434, allocations: 112.4 kB / 3.104 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/4.434, allocations: 0.7044 MB / 3.105 GB, free: 12.68 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/4.434, allocations: 0 / 3.105 GB, free: 12.68 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)