Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [: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/Complex 4.0.0+maint.om/package.mo): time 0.003562/0.003561, allocations: 176.7 kB / 7.452 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.668/0.668, allocations: 130.6 MB / 138.5 MB, free: 2.277 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 391.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009859, allocations: 81.86 kB / 473.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.165e-06, allocations: 1.625 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 81.59 MB / 0.6276 GB, free: 18.18 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5781, allocations: 112.4 MB / 0.7374 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5783, allocations: 100.2 kB / 0.7375 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01069/0.589, allocations: 3.529 MB / 0.7409 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.5891, allocations: 0 / 0.7409 GB, free: 11.14 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000408/0.5895, allocations: 388.3 kB / 0.7413 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5896, allocations: 15.53 kB / 0.7413 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.5896, allocations: 3.906 kB / 0.7413 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5897, allocations: 172.1 kB / 0.7415 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.5897, allocations: 7.828 kB / 0.7415 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.5898, allocations: 0 / 0.7415 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.975e-05/0.5898, allocations: 32.06 kB / 0.7415 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.042e-05/0.5899, allocations: 67.44 kB / 0.7416 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.59, allocations: 0 / 0.7416 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.59, allocations: 0 / 0.7416 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.59, allocations: 5.391 kB / 0.7416 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.5902, allocations: 160 kB / 0.7418 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.5902, allocations: 57.17 kB / 0.7418 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.5903, allocations: 43.94 kB / 0.7419 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.5903, allocations: 0.6094 kB / 0.7419 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.5903, allocations: 30.56 kB / 0.7419 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.5903, allocations: 1.125 kB / 0.7419 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002055/0.5906, allocations: 126.8 kB / 0.742 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5906, allocations: 56 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.95e-05/0.5907, allocations: 111.9 kB / 0.7422 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.5907, allocations: 26.41 kB / 0.7422 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.5907, allocations: 88.73 kB / 0.7423 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.5908, allocations: 33.5 kB / 0.7423 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.5908, allocations: 3.938 kB / 0.7423 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5909, allocations: 320.8 kB / 0.7426 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.591, allocations: 32.17 kB / 0.7426 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/0.591, allocations: 36.22 kB / 0.7427 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.644e-05/0.5911, allocations: 41.94 kB / 0.7427 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5911, allocations: 0 / 0.7427 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001301/0.5912, allocations: 117.9 kB / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5912, allocations: 6.938 kB / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5912, allocations: 0.7969 kB / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5912, allocations: 0 / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.5913, allocations: 3.875 kB / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5913, allocations: 0 / 0.7428 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.5913, allocations: 4.516 kB / 0.7429 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.5913, allocations: 7.906 kB / 0.7429 GB, free: 25.56 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.414e-05/0.5914, allocations: 101.6 kB / 0.743 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.5914, allocations: 11.53 kB / 0.743 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.5914, allocations: 9.609 kB / 0.743 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.5914, allocations: 8.984 kB / 0.743 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5914, allocations: 3.938 kB / 0.743 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.5915, allocations: 0.6562 kB / 0.743 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.5916, allocations: 151.9 kB / 0.7431 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5916, allocations: 0 / 0.7431 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-06/0.5916, allocations: 4.703 kB / 0.7431 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5916, allocations: 7.906 kB / 0.7431 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5916, allocations: 0.5156 kB / 0.7431 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5917, allocations: 3.812 kB / 0.7431 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.5917, allocations: 0 / 0.7431 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001405/0.5918, allocations: 147.3 kB / 0.7433 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.5919, allocations: 86.22 kB / 0.7434 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5919, allocations: 3.938 kB / 0.7434 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.5919, allocations: 4.031 kB / 0.7434 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.5919, allocations: 4.188 kB / 0.7434 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.5919, allocations: 4.391 kB / 0.7434 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.423e-05/0.592, allocations: 101.8 kB / 0.7435 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003313/0.5923, allocations: 84.27 kB / 0.7436 GB, free: 24.99 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003231/0.5927, allocations: 179.8 kB / 0.7437 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.5928, allocations: 62.66 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5928, allocations: 0 / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.5928, allocations: 45.33 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.593, allocations: 3.938 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002135/0.5932, allocations: 131 kB / 0.744 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.5935, allocations: 0.7143 MB / 0.7447 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.5935, allocations: 0 / 0.7447 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.003752/0.5973, allocations: 1.54 MB / 0.7462 GB, free: 23.99 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)