Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_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_dev_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.001814/0.001814, allocations: 179.8 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5984/0.5984, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008582/0.0008582, allocations: 110.3 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.883e-06, allocations: 2.75 kB / 0.5529 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3115/0.4164, allocations: 112.7 MB / 0.7433 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4167, allocations: 105.5 kB / 0.7434 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01003/0.4267, allocations: 3.54 MB / 0.7468 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4268, allocations: 0 / 0.7468 GB, free: 10.66 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.0003208/0.4271, allocations: 388.8 kB / 0.7472 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.4271, allocations: 7.656 kB / 0.7472 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.4272, allocations: 7.719 kB / 0.7472 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.4273, allocations: 172.1 kB / 0.7474 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4273, allocations: 0 / 0.7474 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.4273, allocations: 0 / 0.7474 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.524e-05/0.4274, allocations: 31.73 kB / 0.7474 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/0.4274, allocations: 68.72 kB / 0.7475 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.4274, allocations: 0 / 0.7475 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4275, allocations: 0 / 0.7475 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.4275, allocations: 4.812 kB / 0.7475 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.4276, allocations: 156.2 kB / 0.7476 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.4277, allocations: 57.66 kB / 0.7477 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.4278, allocations: 45.97 kB / 0.7477 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.399e-06/0.4278, allocations: 4 kB / 0.7477 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4278, allocations: 32.52 kB / 0.7478 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.4278, allocations: 0 / 0.7478 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0001886/0.428, allocations: 121.1 kB / 0.7479 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.428, allocations: 51.97 kB / 0.7479 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.4281, allocations: 120.3 kB / 0.748 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.4281, allocations: 25.7 kB / 0.7481 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.4281, allocations: 89.08 kB / 0.7482 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.4282, allocations: 38.06 kB / 0.7482 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4282, allocations: 0 / 0.7482 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.4283, allocations: 317.3 kB / 0.7485 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.4283, allocations: 31.22 kB / 0.7485 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.4283, allocations: 32.55 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.046e-05/0.4284, allocations: 44.67 kB / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4284, allocations: 0 / 0.7486 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001203/0.4285, allocations: 121.7 kB / 0.7487 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.4285, allocations: 7.641 kB / 0.7487 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4285, allocations: 64 / 0.7487 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.4286, allocations: 4 kB / 0.7487 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.4286, allocations: 4.609 kB / 0.7487 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4286, allocations: 0 / 0.7487 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.4286, allocations: 3.906 kB / 0.7487 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4286, allocations: 5.109 kB / 0.7487 GB, free: 25.09 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 5.271e-05/0.4287, allocations: 101 kB / 0.7488 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.4287, allocations: 8.391 kB / 0.7488 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.4287, allocations: 13.47 kB / 0.7489 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4287, allocations: 9.156 kB / 0.7489 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4287, allocations: 4 kB / 0.7489 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.4287, allocations: 0.7969 kB / 0.7489 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4289, allocations: 148.3 kB / 0.749 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4289, allocations: 0 / 0.749 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.4289, allocations: 4 kB / 0.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4289, allocations: 3.906 kB / 0.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4289, allocations: 0.75 kB / 0.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4289, allocations: 3.812 kB / 0.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4289, allocations: 3.938 kB / 0.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001263/0.429, allocations: 147.8 kB / 0.7492 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.4291, allocations: 85.55 kB / 0.7492 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4291, allocations: 0.7969 kB / 0.7492 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.4291, allocations: 3.938 kB / 0.7493 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.4291, allocations: 3.938 kB / 0.7493 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.4291, allocations: 4.422 kB / 0.7493 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.23e-05/0.4292, allocations: 102.7 kB / 0.7494 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002547/0.4294, allocations: 84.38 kB / 0.7494 GB, free: 24.53 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.0002604/0.4297, allocations: 191.1 kB / 0.7496 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.4298, allocations: 63.2 kB / 0.7497 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4298, allocations: 0 / 0.7497 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.4299, allocations: 37.92 kB / 0.7497 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.922e-05/0.43, allocations: 0 / 0.7497 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.4301, allocations: 134.2 kB / 0.7498 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.4304, allocations: 0.7221 MB / 0.7505 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4304, allocations: 0 / 0.7505 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.003192/0.4336, allocations: 1.537 MB / 0.752 GB, free: 23.52 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)