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.389/1.389, allocations: 252 MB / 268 MB, free: 10.87 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.001114/0.001114, allocations: 177 kB / 327.6 MB, free: 2.086 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.84/1.84, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008681/0.0008683, allocations: 86.75 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003655, allocations: 10.81 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2091, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03342/0.2425, allocations: 47.95 MB / 0.9483 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.2592, allocations: 13.8 MB / 0.9618 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.2625, allocations: 55.62 kB / 0.9618 GB, free: 1.457 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.2653, allocations: 0.7306 MB / 0.9625 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007542/0.2729, allocations: 2.262 MB / 0.9647 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004704/0.2776, allocations: 1.509 MB / 0.9662 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008403/0.286, allocations: 6.156 MB / 0.9722 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003149/0.2892, allocations: 1.342 MB / 0.9735 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004136/0.2934, allocations: 1.509 MB / 0.975 GB, free: 3.891 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.2963, allocations: 1.365 MB / 0.9763 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006626/0.297, allocations: 88 kB / 0.9764 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.3018, allocations: 1.7 MB / 0.9781 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.3029, allocations: 458.2 kB / 0.9785 GB, free: 288 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002564/0.3055, allocations: 1.024 MB / 0.9795 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005512/0.311, allocations: 3.3 MB / 0.9827 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3111, allocations: 0 / 0.9827 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3111, allocations: 0 / 0.9827 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001265/0.3112, allocations: 0 / 0.9827 GB, free: 11.94 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.006881/0.3181, allocations: 2.172 MB / 0.9849 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.292e-05/0.3182, allocations: 12.03 kB / 0.9849 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.3192, allocations: 210.6 kB / 0.9851 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.3231, allocations: 1.714 MB / 0.9868 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.3233, allocations: 98.16 kB / 0.9868 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/0.3237, allocations: 143.9 kB / 0.987 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.3264, allocations: 1.231 MB / 0.9882 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.3265, allocations: 0 / 0.9882 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3266, allocations: 47.94 kB / 0.9882 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.595e-05/0.3267, allocations: 32 kB / 0.9883 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.3286, allocations: 0.9451 MB / 0.9892 GB, free: 5.156 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.01246/0.3411, allocations: 7.245 MB / 0.9963 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3437, allocations: 1.096 MB / 0.9973 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.3444, allocations: 471 kB / 0.9978 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/0.3451, allocations: 0.598 MB / 0.9984 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007355/0.3459, allocations: 444.2 kB / 0.9988 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.3459, allocations: 4 kB / 0.9988 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.006111/0.352, allocations: 2.95 MB / 1.002 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.3521, allocations: 68.06 kB / 1.002 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.354, allocations: 1.381 MB / 1.003 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001838/0.3542, allocations: 53.7 kB / 1.003 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006784/0.3549, allocations: 0.6769 MB / 1.004 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.3553, allocations: 303.8 kB / 1.004 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.3554, allocations: 28 kB / 1.004 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3555, allocations: 357.9 kB / 1.004 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.3566, allocations: 0.5818 MB / 1.005 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3578, allocations: 0.8935 MB / 1.006 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.3596, allocations: 1.265 MB / 1.007 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3596, allocations: 3.938 kB / 1.007 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003112/0.3627, allocations: 1.843 MB / 1.009 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.3629, allocations: 281.5 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/0.3629, allocations: 4 kB / 1.009 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007274/0.3637, allocations: 268 kB / 1.009 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.3651, allocations: 287.5 kB / 1.01 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.3665, allocations: 1.591 MB / 1.011 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.3696, allocations: 173.1 kB / 1.011 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3698, allocations: 55.98 kB / 1.012 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3698, allocations: 4 kB / 1.012 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002798/0.3726, allocations: 1.695 MB / 1.013 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.3726, allocations: 8 kB / 1.013 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.3733, allocations: 260.9 kB / 1.013 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3745, allocations: 271.7 kB / 1.014 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.3756, allocations: 0.9933 MB / 1.015 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.3785, allocations: 171.7 kB / 1.015 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.3787, allocations: 51.98 kB / 1.015 GB, free: 9.703 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 ($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 () * 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.0009535/0.3796, allocations: 0.4998 MB / 1.015 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/0.3799, allocations: 150.1 kB / 1.016 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.3818, allocations: 1.069 MB / 1.017 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.3818, allocations: 8 kB / 1.017 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3818, allocations: 8 kB / 1.017 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/0.3832, allocations: 0.9517 MB / 1.017 GB, free: 6.957 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.004266/0.3875, allocations: 2.852 MB / 1.02 GB, free: 4.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3875, allocations: 4 kB / 1.02 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/0.3883, allocations: 147.8 kB / 1.02 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.3886, allocations: 122.8 kB / 1.021 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.3887, allocations: 31.98 kB / 1.021 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.3928, allocations: 5.254 MB / 1.026 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3929, allocations: 3.938 kB / 1.026 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.3955, allocations: 1.612 MB / 1.027 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.3964, allocations: 371 kB / 1.028 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.3966, allocations: 31.98 kB / 1.028 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/0.3981, allocations: 95.72 kB / 1.028 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3982, allocations: 56.58 kB / 1.028 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.3983, allocations: 27.98 kB / 1.028 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00134/0.3997, allocations: 0.9349 MB / 1.029 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3997, allocations: 0 / 1.029 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003123/0.4028, allocations: 1.078 MB / 1.03 GB, free: 9.77 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.001199/0.404, allocations: 0.5276 MB / 1.03 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004073/0.4081, allocations: 2.19 MB / 1.032 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4081, allocations: 0.625 kB / 1.032 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.4093, allocations: 0.8042 MB / 1.033 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/0.4134, allocations: 0.7739 MB / 1.034 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.4193, allocations: 4.242 MB / 1.038 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008645/0.4202, allocations: 1.27 MB / 1.039 GB, free: 15.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/0.4207, allocations: 131.3 kB / 1.039 GB, free: 15.73 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/0.4208, allocations: 0 / 1.039 GB, free: 15.73 MB / 0.698 GB Notification: Performance of Templates: time 0.4155/0.8363, allocations: 52.12 MB / 1.09 GB, free: 123.6 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