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-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.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.005289/0.005289, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7704/0.7704, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.466/1.466, allocations: 221.3 MB / 395 MB, free: 10.16 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.001019/0.001019, allocations: 93.53 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4807/0.4818, allocations: 88.47 MB / 0.553 GB, free: 89.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.6805, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.569/1.25, allocations: 112.7 MB / 0.7434 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.25, allocations: 105.7 kB / 0.7435 GB, free: 10.71 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.01343/1.263, allocations: 3.907 MB / 0.7473 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.263, allocations: 11.66 kB / 0.7473 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/1.263, allocations: 8.625 kB / 0.7473 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/1.264, allocations: 171.1 kB / 0.7475 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.264, allocations: 0.9375 kB / 0.7475 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/1.264, allocations: 0 / 0.7475 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/1.264, allocations: 34.11 kB / 0.7475 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/1.264, allocations: 65.03 kB / 0.7476 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/1.264, allocations: 0 / 0.7476 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.264, allocations: 1.688 kB / 0.7476 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/1.264, allocations: 9.172 kB / 0.7476 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/1.264, allocations: 155 kB / 0.7477 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.388e-05/1.264, allocations: 57.11 kB / 0.7478 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/1.264, allocations: 43.91 kB / 0.7478 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/1.264, allocations: 0.7969 kB / 0.7478 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.265, allocations: 34.41 kB / 0.7479 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/1.265, allocations: 3.938 kB / 0.7479 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002931/1.265, allocations: 122 kB / 0.748 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/1.265, allocations: 55.84 kB / 0.748 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.265, allocations: 116.5 kB / 0.7481 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/1.265, allocations: 29.64 kB / 0.7482 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/1.265, allocations: 85.2 kB / 0.7482 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/1.265, allocations: 33.62 kB / 0.7483 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.265, allocations: 0 / 0.7483 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.265, allocations: 316.2 kB / 0.7486 GB, free: 25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.482e-05/1.265, allocations: 42.06 kB / 0.7486 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/1.266, allocations: 30.84 kB / 0.7486 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.459e-05/1.266, allocations: 41.06 kB / 0.7487 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.266, allocations: 0 / 0.7487 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/1.266, allocations: 117.2 kB / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.266, allocations: 7.688 kB / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.266, allocations: 3.984 kB / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.266, allocations: 4.594 kB / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/1.266, allocations: 0 / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/1.266, allocations: 0 / 0.7488 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/1.266, allocations: 8.625 kB / 0.7488 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/1.266, allocations: 7.219 kB / 0.7488 GB, free: 24.94 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 8.747e-05/1.266, allocations: 105.5 kB / 0.7489 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/1.266, allocations: 3.906 kB / 0.7489 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/1.266, allocations: 9.672 kB / 0.7489 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.266, allocations: 12.91 kB / 0.749 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/1.266, allocations: 1.75 kB / 0.749 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.266, allocations: 0 / 0.749 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/1.266, allocations: 152.6 kB / 0.7491 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.266, allocations: 0 / 0.7491 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-06/1.266, allocations: 4.609 kB / 0.7491 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.266, allocations: 7.75 kB / 0.7491 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.266, allocations: 0 / 0.7491 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.266, allocations: 0.75 kB / 0.7491 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.266, allocations: 0 / 0.7491 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002923/1.267, allocations: 147.3 kB / 0.7493 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004334/1.267, allocations: 0.518 MB / 0.7498 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/1.267, allocations: 84.3 kB / 0.7498 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.267, allocations: 5.891 kB / 0.7498 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.566e-05/1.267, allocations: 0.5 kB / 0.7498 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/1.267, allocations: 2.062 kB / 0.7499 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.267, allocations: 9.5 kB / 0.7499 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.856e-05/1.267, allocations: 101.3 kB / 0.75 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001012/1.268, allocations: 83.23 kB / 0.75 GB, free: 23.94 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.0003576/1.269, allocations: 183.2 kB / 0.7502 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001379/1.269, allocations: 69.52 kB / 0.7503 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.269, allocations: 0 / 0.7503 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/1.269, allocations: 36.97 kB / 0.7503 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001083/1.269, allocations: 0.5625 kB / 0.7503 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/1.269, allocations: 135.1 kB / 0.7504 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.27, allocations: 0.7212 MB / 0.7511 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.27, allocations: 0 / 0.7511 GB, free: 23.04 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)