Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.5 MB / 267.4 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001494, allocations: 175.6 kB / 326.5 MB, free: 2.715 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.758/1.758, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009092/0.0009091, allocations: 84.42 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004735, allocations: 8.469 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03069/0.2305, allocations: 48.58 MB / 0.9442 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.2451, allocations: 13.97 MB / 0.9578 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.2475, allocations: 59.62 kB / 0.9579 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.2494, allocations: 0.7345 MB / 0.9586 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005463/0.2549, allocations: 2.252 MB / 0.9608 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.2585, allocations: 1.509 MB / 0.9623 GB, free: 0.8867 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007951/0.2664, allocations: 6.162 MB / 0.9683 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.2693, allocations: 1.327 MB / 0.9696 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004242/0.2735, allocations: 1.509 MB / 0.9711 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.277, allocations: 1.381 MB / 0.9724 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.2778, allocations: 88 kB / 0.9725 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.2824, allocations: 1.708 MB / 0.9742 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008551/0.2833, allocations: 454.2 kB / 0.9746 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.2851, allocations: 0.9874 MB / 0.9756 GB, free: 3.211 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004249/0.2894, allocations: 3.296 MB / 0.9788 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2894, allocations: 0 / 0.9788 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2894, allocations: 0 / 0.9788 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.673e-05/0.2895, allocations: 0 / 0.9788 GB, free: 15.91 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004855/0.2943, allocations: 2.168 MB / 0.9809 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.2944, allocations: 8.031 kB / 0.9809 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006096/0.295, allocations: 226.5 kB / 0.9811 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/0.2981, allocations: 1.714 MB / 0.9828 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.2982, allocations: 94.16 kB / 0.9829 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.2984, allocations: 139.9 kB / 0.983 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3006, allocations: 1.243 MB / 0.9842 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.3006, allocations: 4 kB / 0.9842 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.3007, allocations: 44 kB / 0.9843 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.3008, allocations: 28 kB / 0.9843 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.3023, allocations: 0.9451 MB / 0.9852 GB, free: 9.121 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/0.3151, allocations: 7.241 MB / 0.9923 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.3177, allocations: 1.1 MB / 0.9934 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.3185, allocations: 467.2 kB / 0.9938 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.3192, allocations: 0.6019 MB / 0.9944 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.32, allocations: 440.3 kB / 0.9948 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.32, allocations: 4 kB / 0.9948 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.00633/0.3263, allocations: 2.946 MB / 0.9977 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3264, allocations: 68 kB / 0.9978 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.3283, allocations: 1.388 MB / 0.9991 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.3285, allocations: 49.7 kB / 0.9992 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006268/0.3291, allocations: 0.6808 MB / 0.9998 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.3294, allocations: 295.8 kB / 1 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3296, allocations: 145.6 kB / 1 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3298, allocations: 361.9 kB / 1.001 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.3307, allocations: 0.5818 MB / 1.001 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3318, allocations: 0.8956 MB / 1.002 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.3335, allocations: 1.258 MB / 1.003 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3335, allocations: 0 / 1.003 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003002/0.3366, allocations: 1.84 MB / 1.005 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.3367, allocations: 273.5 kB / 1.005 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.3368, allocations: 4 kB / 1.005 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007003/0.3375, allocations: 268 kB / 1.006 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.3388, allocations: 283.6 kB / 1.006 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.3402, allocations: 1.583 MB / 1.007 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.3431, allocations: 171.7 kB / 1.008 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.3433, allocations: 59.97 kB / 1.008 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.3433, allocations: 4 kB / 1.008 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002592/0.3459, allocations: 1.683 MB / 1.009 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3459, allocations: 8 kB / 1.009 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.3465, allocations: 261 kB / 1.01 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.3477, allocations: 271.5 kB / 1.01 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.3488, allocations: 0.9973 MB / 1.011 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.3516, allocations: 163.7 kB / 1.011 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.3518, allocations: 59.97 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (seg.TBouCon.iSam,$PRE.seg.TBouCon.iSam,seg.TBouCon.UOld,$PRE.seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$PRE.seg.TBouCon.QAve_flow,$whenCondition1,seg.TBouCon.port.T,$PRE.seg.TBouCon.port.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008647/0.3526, allocations: 0.5021 MB / 1.011 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.3529, allocations: 146.1 kB / 1.012 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.3547, allocations: 1.076 MB / 1.013 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3547, allocations: 11.94 kB / 1.013 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.3548, allocations: 4 kB / 1.013 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.3561, allocations: 0.9557 MB / 1.014 GB, free: 10.83 MB / 0.6667 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003988/0.3601, allocations: 2.852 MB / 1.016 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3602, allocations: 0 / 1.016 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.3609, allocations: 151.8 kB / 1.017 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.3612, allocations: 122.6 kB / 1.017 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.3612, allocations: 23.98 kB / 1.017 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.365, allocations: 5.258 MB / 1.022 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.365, allocations: 4.031 kB / 1.022 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.3675, allocations: 1.6 MB / 1.023 GB, free: 264 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.3682, allocations: 343.3 kB / 1.024 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.3685, allocations: 27.94 kB / 1.024 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.3699, allocations: 103.7 kB / 1.024 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.3701, allocations: 60.56 kB / 1.024 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.3701, allocations: 27.98 kB / 1.024 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001297/0.3714, allocations: 0.931 MB / 1.025 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3714, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00288/0.3743, allocations: 1.082 MB / 1.026 GB, free: 13.67 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.pipFil.vol1.dynBal.U,seg.pipFil.vol2.dynBal.U,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.3756, allocations: 0.5252 MB / 1.026 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003907/0.3795, allocations: 2.193 MB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3795, allocations: 1.375 kB / 1.029 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3806, allocations: 0.8083 MB / 1.029 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/0.3844, allocations: 0.7647 MB / 1.03 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.3899, allocations: 4.02 MB / 1.034 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/0.3907, allocations: 1.278 MB / 1.035 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/0.3913, allocations: 127.4 kB / 1.035 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of SimCode: time 6.71e-07/0.3913, allocations: 0 / 1.035 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of Templates: time 0.3911/0.7823, allocations: 52.13 MB / 1.086 GB, free: 128.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile clang++ -std=c++14 -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/initArray.c:20:28: error: cannot initialize a variable of type 'ExternalObjectStructure *' with an rvalue of type 'void *' ExternalObjectStructure* table = malloc(sizeof(ExternalObjectStructure)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:35:15: error: assigning to 'double *' from incompatible type 'void *' table->x= malloc( nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:48:12: error: assigning to 'double *' from incompatible type 'void *' tab2 = malloc( nTab * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:57:16: error: assigning to 'double *' from incompatible type 'void *' table->x = malloc(nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.o] Error 1