Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.551/1.551, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001429/0.00143, allocations: 181.3 kB / 366.3 MB, free: 2.008 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.754/1.754, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.001305/0.001305, allocations: 92.22 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3138/0.3151, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/1.094, allocations: 116.3 MB / 0.9727 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/5.622, allocations: 2.055 GB / 3.028 GB, free: 21.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/5.622, allocations: 89.64 kB / 3.028 GB, free: 21.67 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.6176/6.24, allocations: 28.04 MB / 3.055 GB, free: 343 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/6.24, allocations: 9.312 kB / 3.055 GB, free: 343 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/6.24, allocations: 7.219 kB / 3.055 GB, free: 343 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/6.24, allocations: 169.1 kB / 3.056 GB, free: 342.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/6.24, allocations: 2.656 kB / 3.056 GB, free: 342.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/6.24, allocations: 3.188 kB / 3.056 GB, free: 342.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001561/6.24, allocations: 73.05 kB / 3.056 GB, free: 342.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/6.24, allocations: 84.67 kB / 3.056 GB, free: 342.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/6.241, allocations: 0.9844 kB / 3.056 GB, free: 342.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/6.241, allocations: 0.75 kB / 3.056 GB, free: 342.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/6.241, allocations: 18.34 kB / 3.056 GB, free: 342.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/6.241, allocations: 309.3 kB / 3.056 GB, free: 342.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/6.241, allocations: 94.17 kB / 3.056 GB, free: 342.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/6.241, allocations: 54.88 kB / 3.056 GB, free: 342.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/6.242, allocations: 458.4 kB / 3.057 GB, free: 342 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/6.242, allocations: 35.44 kB / 3.057 GB, free: 342 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/6.242, allocations: 3.938 kB / 3.057 GB, free: 342 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0888/6.331, allocations: 9.268 MB / 3.066 GB, free: 341.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/6.331, allocations: 55.06 kB / 3.066 GB, free: 341.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/6.331, allocations: 113.7 kB / 3.066 GB, free: 341.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/6.331, allocations: 25.7 kB / 3.066 GB, free: 341.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/6.331, allocations: 96.7 kB / 3.066 GB, free: 341.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/6.331, allocations: 39.23 kB / 3.066 GB, free: 341.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/6.331, allocations: 1.031 kB / 3.066 GB, free: 341.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/6.331, allocations: 321.2 kB / 3.066 GB, free: 340.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/6.331, allocations: 24.64 kB / 3.066 GB, free: 340.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/6.331, allocations: 68.23 kB / 3.066 GB, free: 340.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09126/6.422, allocations: 9.227 MB / 3.076 GB, free: 340.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/6.422, allocations: 0 / 3.076 GB, free: 340.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.09088/6.513, allocations: 9.309 MB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/6.513, allocations: 8.594 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/6.513, allocations: 6.906 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/6.513, allocations: 2.875 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/6.514, allocations: 22.73 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/6.514, allocations: 3.281 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/6.514, allocations: 8.719 kB / 3.085 GB, free: 339.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/6.514, allocations: 8.594 kB / 3.085 GB, free: 339.6 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.844e-05/6.514, allocations: 110.9 kB / 3.085 GB, free: 339.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/6.514, allocations: 8.812 kB / 3.085 GB, free: 339.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09073/6.605, allocations: 9.303 MB / 3.094 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/6.605, allocations: 9.484 kB / 3.094 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/6.605, allocations: 0 / 3.094 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/6.605, allocations: 0 / 3.094 GB, free: 336.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/6.605, allocations: 154 kB / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.605, allocations: 0 / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/6.605, allocations: 24.06 kB / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/6.605, allocations: 2.344 kB / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/6.605, allocations: 3.984 kB / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/6.605, allocations: 0 / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.605, allocations: 0.8438 kB / 3.094 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08873/6.694, allocations: 9.37 MB / 3.103 GB, free: 327.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08818/6.782, allocations: 9.766 MB / 3.113 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/6.782, allocations: 94.97 kB / 3.113 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/6.782, allocations: 0 / 3.113 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/6.782, allocations: 0 / 3.113 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/6.782, allocations: 8 kB / 3.113 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/6.782, allocations: 0 / 3.113 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.732e-05/6.783, allocations: 91.52 kB / 3.113 GB, free: 318 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001321/6.784, allocations: 175.2 kB / 3.113 GB, free: 317.8 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.001191/6.785, allocations: 0.7322 MB / 3.114 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002011/6.785, allocations: 79.47 kB / 3.114 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.785, allocations: 0 / 3.114 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/6.785, allocations: 35.56 kB / 3.114 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/6.786, allocations: 15.86 kB / 3.114 GB, free: 317.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/6.786, allocations: 110.2 kB / 3.114 GB, free: 317 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/6.786, allocations: 0.7151 MB / 3.115 GB, free: 316.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/6.786, allocations: 0 / 3.115 GB, free: 316.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)