Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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/Complex 4.0.0+maint.om/package.mo): time 0.003616/0.003615, allocations: 185.2 kB / 7.463 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6975/0.6975, 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.574/1.574, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009119/0.000912, allocations: 99.28 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4427/0.4436, allocations: 88.47 MB / 0.553 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.6325, allocations: 82.3 MB / 0.6334 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5577/1.19, allocations: 110.6 MB / 0.7413 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003747/1.191, allocations: 100.6 kB / 0.7414 GB, free: 10.64 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002029/1.193, allocations: 0.6916 MB / 0.7421 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.193, allocations: 11.53 kB / 0.7421 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/1.193, allocations: 0.7969 kB / 0.7421 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/1.193, allocations: 172.9 kB / 0.7423 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/1.193, allocations: 4.609 kB / 0.7423 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/1.193, allocations: 0 / 0.7423 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.818e-05/1.193, allocations: 0 / 0.7423 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.515e-05/1.193, allocations: 34.77 kB / 0.7423 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/1.193, allocations: 0 / 0.7423 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/1.193, allocations: 0 / 0.7423 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.193, allocations: 0 / 0.7423 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/1.193, allocations: 362.4 kB / 0.7427 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.592e-05/1.194, allocations: 172.7 kB / 0.7428 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/1.194, allocations: 80.94 kB / 0.7429 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/1.194, allocations: 79.22 kB / 0.743 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/1.194, allocations: 105.8 kB / 0.7431 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.194, allocations: 4 kB / 0.7431 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 7.197e-05/1.194, allocations: 30.31 kB / 0.7431 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.194, allocations: 52.02 kB / 0.7432 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.121e-05/1.194, allocations: 85.8 kB / 0.7432 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/1.194, allocations: 25.7 kB / 0.7433 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/1.194, allocations: 87.92 kB / 0.7433 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/1.194, allocations: 0 / 0.7433 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/1.194, allocations: 0.8438 kB / 0.7433 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.194, allocations: 323.5 kB / 0.7437 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/1.194, allocations: 0 / 0.7437 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/1.194, allocations: 0 / 0.7437 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.494e-05/1.194, allocations: 0.6094 kB / 0.7437 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/1.194, allocations: 0 / 0.7437 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.469e-05/1.194, allocations: 34.72 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.194, allocations: 3.969 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.194, allocations: 0 / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.194, allocations: 4.641 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/1.194, allocations: 96 / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.194, allocations: 8.453 kB / 0.7437 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.241e-05/1.194, allocations: 6.281 kB / 0.7437 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/1.194, allocations: 0 / 0.7437 GB, free: 24.54 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: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.885e-05/1.194, allocations: 177 kB / 0.7439 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/1.195, allocations: 105.5 kB / 0.744 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/1.195, allocations: 109.1 kB / 0.7441 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.756e-05/1.195, allocations: 184.9 kB / 0.7443 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.432e-05/1.195, allocations: 180.7 kB / 0.7444 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.017e-05/1.195, allocations: 177.1 kB / 0.7446 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/1.195, allocations: 383.1 kB / 0.745 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/1.195, allocations: 105.6 kB / 0.7451 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/1.195, allocations: 106 kB / 0.7452 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-05/1.195, allocations: 181.4 kB / 0.7453 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/1.195, allocations: 188.4 kB / 0.7455 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.635e-05/1.195, allocations: 177.6 kB / 0.7457 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.364e-05/1.195, allocations: 180.3 kB / 0.7459 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001317/1.196, allocations: 311.8 kB / 0.7462 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002612/1.196, allocations: 0.6651 MB / 0.7468 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/1.196, allocations: 183.5 kB / 0.747 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/1.196, allocations: 181.4 kB / 0.7472 GB, free: 20.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/1.196, allocations: 113.5 kB / 0.7473 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/1.196, allocations: 177.8 kB / 0.7474 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/1.196, allocations: 101 kB / 0.7475 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.5e-05/1.196, allocations: 79.09 kB / 0.7476 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008643/1.197, allocations: 0 / 0.7476 GB, free: 20.37 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 (0): * Single equations (assignments): 0 * 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.0001548/1.197, allocations: 179.6 kB / 0.7478 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.577e-05/1.197, allocations: 8.109 kB / 0.7478 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.197, allocations: 0 / 0.7478 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/1.197, allocations: 0 / 0.7478 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.198, allocations: 0.519 MB / 0.7483 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001748/1.198, allocations: 121 kB / 0.7484 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.198, allocations: 0.6881 MB / 0.7491 GB, free: 18.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/1.198, allocations: 0 / 0.7491 GB, free: 18.84 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)