Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_BoreholeSegment",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 loadModel(Buildings): time 4.038/4.038, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5538/4.591, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/4.83, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/5.864, allocations: 413.2 MB / 1.032 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004001/5.864, allocations: 107.8 kB / 1.032 GB, free: 4.355 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 3.064/8.928, allocations: 0.6276 GB / 1.66 GB, free: 74.97 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/8.928, allocations: 12 kB / 1.66 GB, free: 74.96 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/8.93, allocations: 209.6 kB / 1.66 GB, free: 74.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007912/8.938, allocations: 2.071 MB / 1.662 GB, free: 72.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/8.938, allocations: 32 kB / 1.662 GB, free: 72.63 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000474/8.938, allocations: 95.91 kB / 1.662 GB, free: 72.54 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002906/8.941, allocations: 0.8361 MB / 1.663 GB, free: 71.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/8.944, allocations: 1.024 MB / 1.664 GB, free: 70.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/8.944, allocations: 0 / 1.664 GB, free: 70.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/8.945, allocations: 11.94 kB / 1.664 GB, free: 70.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/8.945, allocations: 28 kB / 1.664 GB, free: 70.57 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/8.957, allocations: 6.531 MB / 1.67 GB, free: 63.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/8.96, allocations: 0.7525 MB / 1.671 GB, free: 62.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/8.961, allocations: 419.4 kB / 1.671 GB, free: 62.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007712/8.962, allocations: 0.6019 MB / 1.672 GB, free: 61.81 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009724/8.963, allocations: 400.4 kB / 1.672 GB, free: 61.41 MB / 0.823 GB Notification: Performance of pre-optimization done (n=76): time 3.977e-06/8.963, allocations: 0 / 1.672 GB, free: 61.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.009676/8.972, allocations: 2.204 MB / 1.674 GB, free: 59.14 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/8.972, allocations: 68.06 kB / 1.674 GB, free: 59.06 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/8.975, allocations: 1.071 MB / 1.675 GB, free: 57.97 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004541/8.975, allocations: 33.7 kB / 1.676 GB, free: 57.93 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/8.976, allocations: 0.4924 MB / 1.676 GB, free: 57.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/8.977, allocations: 275.9 kB / 1.676 GB, free: 57.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/8.977, allocations: 0 / 1.676 GB, free: 57.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000124/8.977, allocations: 361.8 kB / 1.677 GB, free: 56.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/8.978, allocations: 0.535 MB / 1.677 GB, free: 56.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/8.98, allocations: 0.8317 MB / 1.678 GB, free: 55.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002847/8.983, allocations: 0.7167 MB / 1.679 GB, free: 54.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/8.983, allocations: 3.938 kB / 1.679 GB, free: 54.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005807/8.989, allocations: 1.736 MB / 1.68 GB, free: 52.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004758/8.99, allocations: 2.276 MB / 1.683 GB, free: 50.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-05/8.99, allocations: 11.12 kB / 1.683 GB, free: 50.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/8.991, allocations: 232 kB / 1.683 GB, free: 50.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/8.994, allocations: 263.5 kB / 1.683 GB, free: 49.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/8.996, allocations: 1.642 MB / 1.685 GB, free: 48.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005212/9.001, allocations: 123.6 kB / 1.685 GB, free: 48.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004658/9.002, allocations: 55.98 kB / 1.685 GB, free: 48.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/9.002, allocations: 4 kB / 1.685 GB, free: 48.05 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005584/9.007, allocations: 1.556 MB / 1.686 GB, free: 46.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.172e-05/9.008, allocations: 8.469 kB / 1.686 GB, free: 46.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/9.008, allocations: 224.7 kB / 1.687 GB, free: 46.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/9.011, allocations: 255.6 kB / 1.687 GB, free: 46.01 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/9.013, allocations: 1.029 MB / 1.688 GB, free: 44.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005098/9.018, allocations: 123.5 kB / 1.688 GB, free: 44.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004224/9.019, allocations: 59.88 kB / 1.688 GB, free: 44.77 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0004698/9.019, allocations: 136.7 kB / 1.688 GB, free: 44.63 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/9.02, allocations: 138.2 kB / 1.688 GB, free: 44.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/9.023, allocations: 0.9992 MB / 1.689 GB, free: 43.47 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/9.023, allocations: 8 kB / 1.689 GB, free: 43.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/9.023, allocations: 4 kB / 1.689 GB, free: 43.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002704/9.026, allocations: 0.8864 MB / 1.69 GB, free: 42.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007764/9.034, allocations: 2.633 MB / 1.693 GB, free: 39.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/9.034, allocations: 0 / 1.693 GB, free: 39.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/9.035, allocations: 143.9 kB / 1.693 GB, free: 39.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/9.036, allocations: 110.4 kB / 1.693 GB, free: 39.56 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/9.036, allocations: 15.98 kB / 1.693 GB, free: 39.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004745/9.041, allocations: 5.051 MB / 1.698 GB, free: 34.13 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/9.041, allocations: 3.938 kB / 1.698 GB, free: 34.12 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004235/9.045, allocations: 1.521 MB / 1.699 GB, free: 32.55 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005439/9.051, allocations: 2.407 MB / 1.702 GB, free: 30.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/9.052, allocations: 351.2 kB / 1.702 GB, free: 29.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/9.052, allocations: 12 kB / 1.702 GB, free: 29.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/9.055, allocations: 71.75 kB / 1.702 GB, free: 29.65 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/9.055, allocations: 40.59 kB / 1.702 GB, free: 29.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/9.055, allocations: 31.98 kB / 1.702 GB, free: 29.58 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00178/9.057, allocations: 0.7835 MB / 1.703 GB, free: 28.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008606/9.066, allocations: 1.296 MB / 1.704 GB, free: 27.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002292/9.068, allocations: 0.8198 MB / 1.705 GB, free: 26.67 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01005/9.078, allocations: 2.064 MB / 1.707 GB, free: 24.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/9.078, allocations: 0 / 1.707 GB, free: 24.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002463/9.081, allocations: 0.7266 MB / 1.708 GB, free: 23.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006315/9.087, allocations: 0.6005 MB / 1.708 GB, free: 23.25 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/9.097, allocations: 3 MB / 1.711 GB, free: 20.23 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/9.099, allocations: 1.474 MB / 1.713 GB, free: 18.72 MB / 0.823 GB Notification: Performance of SimCode: time 1.583e-06/9.099, allocations: 0 / 1.713 GB, free: 18.72 MB / 0.823 GB