Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 1.974/1.974, allocations: 253.1 MB / 260.4 MB, free: 0.5508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001656, allocations: 179.6 kB / 319.6 MB, free: 7.676 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.4 MB / 0.5704 GB, free: 25.64 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 89.28 kB / 0.6746 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.593e-05, allocations: 4 kB / 0.7843 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5195, allocations: 106.2 MB / 0.8881 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.7668, allocations: 132.9 MB / 1.018 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007185/0.7676, allocations: 107.9 kB / 1.018 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.02985/0.7975, allocations: 3.483 MB / 1.021 GB, free: 4.445 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.7975, allocations: 0 / 1.021 GB, free: 4.445 MB / 0.6667 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.0006654/0.7982, allocations: 386.2 kB / 1.022 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.7983, allocations: 8.031 kB / 1.022 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.863e-05/0.7984, allocations: 11.84 kB / 1.022 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.7986, allocations: 170.9 kB / 1.022 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.7987, allocations: 4 kB / 1.022 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.7987, allocations: 4 kB / 1.022 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001434/0.7989, allocations: 39.91 kB / 1.022 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7991, allocations: 65.67 kB / 1.022 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7991, allocations: 0 / 1.022 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.7991, allocations: 3.906 kB / 1.022 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.7992, allocations: 4 kB / 1.022 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.7996, allocations: 154.2 kB / 1.022 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.7998, allocations: 54.56 kB / 1.022 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.8, allocations: 41.06 kB / 1.022 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.8, allocations: 3.938 kB / 1.022 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.8, allocations: 38.55 kB / 1.022 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 3.467e-06/0.8001, allocations: 0 / 1.022 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0004349/0.8005, allocations: 121.5 kB / 1.022 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8006, allocations: 55.44 kB / 1.022 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.8008, allocations: 113 kB / 1.023 GB, free: 3.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.8008, allocations: 25.7 kB / 1.023 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.8009, allocations: 88.14 kB / 1.023 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.801, allocations: 31.55 kB / 1.023 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.801, allocations: 3.938 kB / 1.023 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.8012, allocations: 318.8 kB / 1.023 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.8013, allocations: 35.98 kB / 1.023 GB, free: 2.508 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.8014, allocations: 31.92 kB / 1.023 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.8016, allocations: 44 kB / 1.023 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.8016, allocations: 0 / 1.023 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003877/0.802, allocations: 121.5 kB / 1.023 GB, free: 2.309 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.8021, allocations: 8 kB / 1.023 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8021, allocations: 0 / 1.023 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.8021, allocations: 7.844 kB / 1.023 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.8021, allocations: 0 / 1.023 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.8022, allocations: 0 / 1.023 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.8022, allocations: 0 / 1.023 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.8023, allocations: 4 kB / 1.023 GB, free: 2.289 MB / 0.6667 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 0.0001077/0.8024, allocations: 109 kB / 1.023 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.8025, allocations: 7.812 kB / 1.023 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.8025, allocations: 12.36 kB / 1.023 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.8026, allocations: 4 kB / 1.023 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8026, allocations: 0 / 1.023 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.8026, allocations: 0 / 1.023 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.8029, allocations: 154.1 kB / 1.024 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.803, allocations: 0 / 1.024 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-06/0.803, allocations: 0 / 1.024 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.803, allocations: 7.984 kB / 1.024 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.803, allocations: 4 kB / 1.024 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.803, allocations: 0 / 1.024 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8031, allocations: 0 / 1.024 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004158/0.8035, allocations: 153 kB / 1.024 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.819e-05/0.8036, allocations: 84.95 kB / 1.024 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.8036, allocations: 0 / 1.024 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.845e-05/0.8037, allocations: 0 / 1.024 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.8038, allocations: 15.94 kB / 1.024 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.8038, allocations: 8 kB / 1.024 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002652/0.8041, allocations: 99.27 kB / 1.024 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001556/0.8057, allocations: 79.92 kB / 1.024 GB, free: 1.48 MB / 0.6667 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.001286/0.807, allocations: 187 kB / 1.024 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.8073, allocations: 67.92 kB / 1.024 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.8073, allocations: 0 / 1.024 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.8075, allocations: 35.98 kB / 1.024 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.8076, allocations: 8.125 kB / 1.024 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.808, allocations: 127.6 kB / 1.024 GB, free: 1.031 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.8084, allocations: 0.7192 MB / 1.025 GB, free: 292 kB / 0.6667 GB Notification: Performance of SimCode: time 1.052e-06/0.8084, allocations: 0 / 1.025 GB, free: 292 kB / 0.6667 GB Notification: Performance of Templates: time 0.005895/0.8143, allocations: 1.539 MB / 1.027 GB, free: 14.79 MB / 0.6824 GB