Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 181.2 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7819 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 97.31 kB / 0.9213 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7413/0.7424, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/1.084, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.003/5.088, allocations: 1.712 GB / 2.917 GB, free: 123 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.088, allocations: 88.12 kB / 2.918 GB, free: 122.9 MB / 1.151 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.05178/5.14, allocations: 28.02 MB / 2.945 GB, free: 99.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/5.14, allocations: 9 kB / 2.945 GB, free: 99.79 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/5.14, allocations: 12.28 kB / 2.945 GB, free: 99.78 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.508e-05/5.14, allocations: 163 kB / 2.945 GB, free: 99.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/5.14, allocations: 0 / 2.945 GB, free: 99.58 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/5.14, allocations: 4 kB / 2.945 GB, free: 99.58 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/5.14, allocations: 66.47 kB / 2.945 GB, free: 99.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/5.14, allocations: 91.38 kB / 2.945 GB, free: 99.45 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/5.14, allocations: 9.469 kB / 2.945 GB, free: 99.44 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/5.14, allocations: 0 / 2.945 GB, free: 99.44 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/5.14, allocations: 12 kB / 2.945 GB, free: 99.43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/5.141, allocations: 306.1 kB / 2.946 GB, free: 99.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/5.141, allocations: 97.84 kB / 2.946 GB, free: 99.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/5.141, allocations: 44.05 kB / 2.946 GB, free: 98.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/5.141, allocations: 465.8 kB / 2.946 GB, free: 98.44 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/5.141, allocations: 43.14 kB / 2.946 GB, free: 98.39 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/5.141, allocations: 3.984 kB / 2.946 GB, free: 98.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.08498/5.226, allocations: 9.275 MB / 2.955 GB, free: 89.28 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/5.226, allocations: 55.41 kB / 2.955 GB, free: 89.21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/5.226, allocations: 105 kB / 2.955 GB, free: 89.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/5.226, allocations: 25.8 kB / 2.955 GB, free: 89.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/5.227, allocations: 104.1 kB / 2.956 GB, free: 88.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/5.227, allocations: 35.45 kB / 2.956 GB, free: 88.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/5.227, allocations: 0 / 2.956 GB, free: 88.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.468e-05/5.227, allocations: 318.8 kB / 2.956 GB, free: 88.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/5.227, allocations: 24 kB / 2.956 GB, free: 88.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.302e-05/5.227, allocations: 73.08 kB / 2.956 GB, free: 88.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08628/5.313, allocations: 9.223 MB / 2.965 GB, free: 79.26 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/5.313, allocations: 0 / 2.965 GB, free: 79.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.08398/5.397, allocations: 9.31 MB / 2.974 GB, free: 69.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/5.397, allocations: 8 kB / 2.974 GB, free: 69.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/5.397, allocations: 0 / 2.974 GB, free: 69.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/5.397, allocations: 4 kB / 2.974 GB, free: 69.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/5.397, allocations: 27.98 kB / 2.974 GB, free: 69.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/5.397, allocations: 7.938 kB / 2.974 GB, free: 69.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/5.397, allocations: 3.906 kB / 2.974 GB, free: 69.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/5.397, allocations: 8.156 kB / 2.974 GB, free: 69.88 MB / 1.151 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.337e-05/5.397, allocations: 105 kB / 2.974 GB, free: 69.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/5.398, allocations: 7.906 kB / 2.974 GB, free: 69.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08459/5.482, allocations: 9.314 MB / 2.983 GB, free: 60.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/5.482, allocations: 0 / 2.983 GB, free: 60.43 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/5.482, allocations: 0 / 2.983 GB, free: 60.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/5.482, allocations: 3.906 kB / 2.983 GB, free: 60.42 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/5.482, allocations: 154.2 kB / 2.983 GB, free: 60.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/5.482, allocations: 4 kB / 2.983 GB, free: 60.23 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.414e-05/5.482, allocations: 12 kB / 2.983 GB, free: 60.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/5.482, allocations: 3.984 kB / 2.983 GB, free: 60.21 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/5.482, allocations: 7.906 kB / 2.983 GB, free: 60.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/5.482, allocations: 3.938 kB / 2.983 GB, free: 60.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/5.483, allocations: 0 / 2.983 GB, free: 60.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08435/5.567, allocations: 9.374 MB / 2.993 GB, free: 50.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08429/5.651, allocations: 9.757 MB / 3.002 GB, free: 41.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/5.651, allocations: 93 kB / 3.002 GB, free: 40.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/5.651, allocations: 4 kB / 3.002 GB, free: 40.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/5.651, allocations: 0 / 3.002 GB, free: 40.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/5.651, allocations: 4 kB / 3.002 GB, free: 40.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/5.651, allocations: 256 / 3.002 GB, free: 40.89 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.39e-05/5.652, allocations: 95.27 kB / 3.002 GB, free: 40.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001071/5.653, allocations: 171.8 kB / 3.003 GB, free: 40.63 MB / 1.151 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.0007852/5.653, allocations: 0.7324 MB / 3.003 GB, free: 39.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000152/5.654, allocations: 76.55 kB / 3.003 GB, free: 39.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/5.654, allocations: 8 kB / 3.003 GB, free: 39.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/5.654, allocations: 28 kB / 3.003 GB, free: 39.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/5.654, allocations: 15.89 kB / 3.003 GB, free: 39.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/5.654, allocations: 115.9 kB / 3.003 GB, free: 39.65 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/5.654, allocations: 0.7075 MB / 3.004 GB, free: 38.92 MB / 1.151 GB Notification: Performance of SimCode: time 2.7e-07/5.654, allocations: 0 / 3.004 GB, free: 38.92 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity_fmu --startTime=10 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Functions_Validation_EquivalentHeatCapacity.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)