Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 248.6 MB / 255.9 MB, free: 7.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.001621, allocations: 186.8 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001342/0.001342, allocations: 90.64 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4851/0.4864, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.6925, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6823/1.375, allocations: 132.4 MB / 1.013 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/1.375, allocations: 96.17 kB / 1.013 GB, free: 7.809 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005759/1.381, allocations: 1.308 MB / 1.014 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.381, allocations: 8 kB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/1.382, allocations: 34.86 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.382, allocations: 171.9 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.382, allocations: 0 / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/1.382, allocations: 4 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002335/1.382, allocations: 49.75 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/1.383, allocations: 53.36 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.383, allocations: 11.92 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/1.383, allocations: 3.906 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.383, allocations: 0 / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/1.383, allocations: 149.2 kB / 1.015 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.383, allocations: 60.67 kB / 1.015 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/1.383, allocations: 30.47 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.383, allocations: 2.625 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.383, allocations: 34.56 kB / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/1.383, allocations: 0 / 1.015 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004394/1.384, allocations: 76.2 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/1.384, allocations: 59.33 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.384, allocations: 103.1 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/1.384, allocations: 25.7 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/1.384, allocations: 80.14 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/1.384, allocations: 23.08 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/1.384, allocations: 0 / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.384, allocations: 314.8 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/1.384, allocations: 19.55 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/1.384, allocations: 19.36 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/1.384, allocations: 19.36 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.384, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003803/1.385, allocations: 72.14 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.385, allocations: 8 kB / 1.016 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.385, allocations: 0 / 1.016 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.385, allocations: 3.984 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/1.385, allocations: 12 kB / 1.016 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.385, allocations: 3.938 kB / 1.016 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/1.385, allocations: 7.984 kB / 1.016 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/1.385, allocations: 0 / 1.016 GB, free: 5.082 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 0.0001054/1.385, allocations: 112.8 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/1.386, allocations: 4 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/1.386, allocations: 96.92 kB / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.386, allocations: 0 / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.386, allocations: 0 / 1.016 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.386, allocations: 4 kB / 1.016 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.386, allocations: 150.6 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.386, allocations: 0 / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/1.386, allocations: 19.48 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/1.386, allocations: 7.984 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.386, allocations: 7.891 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.386, allocations: 3.688 kB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.387, allocations: 0 / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005799/1.387, allocations: 104.8 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005796/1.388, allocations: 496.7 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/1.388, allocations: 81.09 kB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/1.388, allocations: 3.906 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/1.388, allocations: 7.938 kB / 1.017 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/1.388, allocations: 11.92 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/1.388, allocations: 4 kB / 1.017 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.95e-05/1.388, allocations: 86.47 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001234/1.389, allocations: 26.86 kB / 1.017 GB, free: 3.816 MB / 0.6355 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 (7): * Single equations (assignments): 7 * 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.000332/1.39, allocations: 123.2 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002077/1.39, allocations: 47.22 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.39, allocations: 0 / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/1.39, allocations: 27.42 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/1.39, allocations: 15.61 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/1.391, allocations: 114.2 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/1.391, allocations: 0.7075 MB / 1.018 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of SimCode: time 3.527e-06/1.391, allocations: 0 / 1.018 GB, free: 2.75 MB / 0.6355 GB