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.417/1.417, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009771/0.0009771, allocations: 169.7 kB / 327.3 MB, free: 2.223 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.729/1.729, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0008564/0.0008562, allocations: 86.34 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 10.28 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.03278/0.2827, allocations: 45.35 MB / 0.9451 GB, free: 18.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.2988, allocations: 12.94 MB / 0.9578 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002806/0.3016, allocations: 55.62 kB / 0.9578 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.3037, allocations: 0.6212 MB / 0.9584 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/0.3097, allocations: 1.883 MB / 0.9603 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.3139, allocations: 1.181 MB / 0.9614 GB, free: 1.719 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007752/0.3216, allocations: 5.328 MB / 0.9666 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002511/0.3242, allocations: 1.217 MB / 0.9678 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.3281, allocations: 1.435 MB / 0.9692 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.331, allocations: 1.315 MB / 0.9705 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002894/0.3313, allocations: 88 kB / 0.9706 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.3353, allocations: 1.376 MB / 0.9719 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005665/0.3359, allocations: 450.3 kB / 0.9724 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3369, allocations: 436.8 kB / 0.9728 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.3416, allocations: 3.222 MB / 0.9759 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3417, allocations: 0 / 0.9759 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3417, allocations: 0 / 0.9759 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.869e-05/0.3418, allocations: 0 / 0.9759 GB, free: 2.797 MB / 0.6198 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.005966/0.3477, allocations: 2.184 MB / 0.9781 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3478, allocations: 12.03 kB / 0.9781 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.3484, allocations: 209.7 kB / 0.9783 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.3513, allocations: 1.67 MB / 0.9799 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/0.3514, allocations: 98.16 kB / 0.98 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3516, allocations: 143.9 kB / 0.9801 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/0.3538, allocations: 1.227 MB / 0.9813 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.3539, allocations: 3.938 kB / 0.9813 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.354, allocations: 44 kB / 0.9814 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.354, allocations: 28 kB / 0.9814 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.3556, allocations: 0.9373 MB / 0.9823 GB, free: 12.07 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.01146/0.3671, allocations: 7.233 MB / 0.9894 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.3697, allocations: 1.089 MB / 0.9904 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007242/0.3704, allocations: 468.8 kB / 0.9909 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006879/0.3711, allocations: 0.6019 MB / 0.9915 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007226/0.3719, allocations: 436.3 kB / 0.9919 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/0.3719, allocations: 0 / 0.9919 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.005871/0.3778, allocations: 2.938 MB / 0.9948 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.3778, allocations: 60.06 kB / 0.9948 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.3797, allocations: 1.384 MB / 0.9962 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.3798, allocations: 57.64 kB / 0.9962 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/0.3805, allocations: 0.6808 MB / 0.9969 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.3808, allocations: 291.8 kB / 0.9972 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.018e-05/0.3809, allocations: 32 kB / 0.9972 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3811, allocations: 361.9 kB / 0.9975 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.3821, allocations: 0.5779 MB / 0.9981 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.3833, allocations: 0.8935 MB / 0.999 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3845, allocations: 0.6974 MB / 0.9997 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3845, allocations: 0 / 0.9997 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.002962/0.3875, allocations: 1.832 MB / 1.001 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.3877, allocations: 272.8 kB / 1.002 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.3877, allocations: 4 kB / 1.002 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/0.3885, allocations: 268 kB / 1.002 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.3899, allocations: 295.5 kB / 1.002 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.3913, allocations: 1.587 MB / 1.004 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.3943, allocations: 179.7 kB / 1.004 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.3945, allocations: 51.98 kB / 1.004 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.3945, allocations: 8 kB / 1.004 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002682/0.3972, allocations: 1.679 MB / 1.006 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3972, allocations: 8 kB / 1.006 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.3978, allocations: 253.3 kB / 1.006 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.399, allocations: 275.6 kB / 1.006 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.4, allocations: 0.9933 MB / 1.007 GB, free: 1.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.4029, allocations: 171.6 kB / 1.007 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.403, allocations: 59.97 kB / 1.007 GB, free: 1.34 MB / 0.6511 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 (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.0009042/0.4039, allocations: 0.5034 MB / 1.008 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.4041, allocations: 146.1 kB / 1.008 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.4059, allocations: 1.068 MB / 1.009 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.406, allocations: 8 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.406, allocations: 3.938 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001381/0.4074, allocations: 0.9521 MB / 1.01 GB, free: 14.6 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.003994/0.4114, allocations: 2.848 MB / 1.013 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4114, allocations: 0 / 1.013 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007203/0.4121, allocations: 155.9 kB / 1.013 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.4124, allocations: 114.5 kB / 1.013 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.4125, allocations: 31.94 kB / 1.013 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004019/0.4165, allocations: 5.251 MB / 1.018 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4166, allocations: 8.016 kB / 1.018 GB, free: 5.66 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.419, allocations: 1.599 MB / 1.02 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006978/0.4197, allocations: 371 kB / 1.02 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.4199, allocations: 20 kB / 1.02 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.4214, allocations: 107.8 kB / 1.02 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4215, allocations: 56.58 kB / 1.02 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.4216, allocations: 35.94 kB / 1.02 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001355/0.423, allocations: 0.9115 MB / 1.021 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.423, allocations: 3.938 kB / 1.021 GB, free: 2.512 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003085/0.4261, allocations: 1.078 MB / 1.022 GB, free: 1.434 MB / 0.6667 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 (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,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.4272, allocations: 0.5084 MB / 1.023 GB, free: 0.9336 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003867/0.431, allocations: 2.175 MB / 1.025 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4311, allocations: 0 / 1.025 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.4323, allocations: 0.8009 MB / 1.026 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.4361, allocations: 0.7583 MB / 1.026 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.4427, allocations: 4.156 MB / 1.03 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.4438, allocations: 1.27 MB / 1.032 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000622/0.4444, allocations: 123.4 kB / 1.032 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of SimCode: time 2.064e-06/0.4444, allocations: 0 / 1.032 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of Templates: time 0.4648/0.9092, allocations: 52.11 MB / 1.083 GB, free: 131.9 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++ -Winvalid-pch -O0 -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/c/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