Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 103.3 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 191.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2293, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.3829/0.6123, allocations: 49.19 MB / 0.8328 GB, free: 17.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.6348, allocations: 13.86 MB / 0.8464 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003305/0.6382, allocations: 69.12 kB / 0.8464 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003134/0.6414, allocations: 0.8809 MB / 0.8473 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008512/0.65, allocations: 2.487 MB / 0.8497 GB, free: 5.348 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-107:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.004811/0.6548, allocations: 1.705 MB / 0.8514 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008018/0.6628, allocations: 5.097 MB / 0.8564 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003079/0.666, allocations: 1.72 MB / 0.858 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00499/0.671, allocations: 1.857 MB / 0.8599 GB, free: 188 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.6748, allocations: 1.482 MB / 0.8613 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007437/0.6756, allocations: 260.5 kB / 0.8616 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/0.6815, allocations: 1.954 MB / 0.8635 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.6827, allocations: 0.6357 MB / 0.8641 GB, free: 14.51 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002643/0.6854, allocations: 1.196 MB / 0.8652 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008481/0.6939, allocations: 4.266 MB / 0.8694 GB, free: 10.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6939, allocations: 1.312 kB / 0.8694 GB, free: 10.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6939, allocations: 0 / 0.8694 GB, free: 10.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.502e-05/0.694, allocations: 4 kB / 0.8694 GB, free: 10.86 MB / 0.67 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.006398/0.7004, allocations: 2.547 MB / 0.8719 GB, free: 9.051 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7005, allocations: 10.16 kB / 0.8719 GB, free: 9.051 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000732/0.7012, allocations: 209.4 kB / 0.8721 GB, free: 8.953 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/0.7047, allocations: 1.738 MB / 0.8738 GB, free: 7.609 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.7049, allocations: 103.5 kB / 0.8739 GB, free: 7.559 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002656/0.7051, allocations: 139.8 kB / 0.874 GB, free: 7.512 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002359/0.7075, allocations: 1.232 MB / 0.8752 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.7076, allocations: 9.219 kB / 0.8753 GB, free: 6.719 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7077, allocations: 46.75 kB / 0.8753 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.7077, allocations: 31.91 kB / 0.8753 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.7095, allocations: 0.9382 MB / 0.8762 GB, free: 6.195 MB / 0.67 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.01352/0.7231, allocations: 7.208 MB / 0.8833 GB, free: 20 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.7256, allocations: 1.103 MB / 0.8844 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007291/0.7264, allocations: 458.8 kB / 0.8848 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.7271, allocations: 0.6072 MB / 0.8854 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/0.7278, allocations: 450.9 kB / 0.8858 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 4.98e-06/0.7279, allocations: 5.047 kB / 0.8858 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.006556/0.7344, allocations: 2.945 MB / 0.8887 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.7345, allocations: 65.81 kB / 0.8888 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.7368, allocations: 1.408 MB / 0.8901 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.737, allocations: 53.98 kB / 0.8902 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.7377, allocations: 0.6706 MB / 0.8908 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.7381, allocations: 294.8 kB / 0.8911 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005016/0.7386, allocations: 299.8 kB / 0.8914 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7387, allocations: 364.9 kB / 0.8918 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.7397, allocations: 0.5961 MB / 0.8923 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.7409, allocations: 0.8898 MB / 0.8932 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.7428, allocations: 1.257 MB / 0.8944 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7428, allocations: 6.688 kB / 0.8944 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003379/0.7462, allocations: 1.839 MB / 0.8962 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.7462, allocations: 10.03 kB / 0.8963 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.7462, allocations: 11.98 kB / 0.8963 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.747, allocations: 264.1 kB / 0.8965 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.7484, allocations: 287.6 kB / 0.8968 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.7499, allocations: 1.586 MB / 0.8983 GB, free: 5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.7532, allocations: 111.7 kB / 0.8984 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.7535, allocations: 55.98 kB / 0.8985 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001914/0.7554, allocations: 0.9295 MB / 0.8994 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00139/0.7568, allocations: 0.8944 MB / 0.9003 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001979/0.7588, allocations: 1.25 MB / 0.9015 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/0.7589, allocations: 2.891 kB / 0.9015 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.003584/0.7624, allocations: 1.84 MB / 0.9033 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7625, allocations: 8 kB / 0.9033 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.7625, allocations: 12 kB / 0.9033 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.7632, allocations: 258.1 kB / 0.9036 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.7645, allocations: 271.7 kB / 0.9038 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.7656, allocations: 0.9897 MB / 0.9048 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/0.7689, allocations: 124.4 kB / 0.9049 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.769, allocations: 55.98 kB / 0.905 GB, free: 13.99 MB / 0.7012 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.0004092/0.7694, allocations: 259 kB / 0.9052 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005417/0.77, allocations: 146.1 kB / 0.9054 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.7722, allocations: 1.076 MB / 0.9064 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.7722, allocations: 8 kB / 0.9064 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.7722, allocations: 4 kB / 0.9064 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.7737, allocations: 0.9517 MB / 0.9073 GB, free: 11.49 MB / 0.7012 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.005182/0.7789, allocations: 2.88 MB / 0.9102 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7789, allocations: 0 / 0.9102 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.7796, allocations: 151.8 kB / 0.9103 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003035/0.7799, allocations: 114.5 kB / 0.9104 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.78, allocations: 31.98 kB / 0.9104 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00451/0.7846, allocations: 5.793 MB / 0.9161 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7846, allocations: 2.531 kB / 0.9161 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.7873, allocations: 1.605 MB / 0.9177 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009639/0.7883, allocations: 347.2 kB / 0.918 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.7888, allocations: 23.94 kB / 0.918 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/0.7906, allocations: 55.84 kB / 0.9181 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.7908, allocations: 56.58 kB / 0.9181 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/0.7909, allocations: 39.92 kB / 0.9182 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001725/0.7926, allocations: 0.9427 MB / 0.9191 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7926, allocations: 3.938 kB / 0.9191 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004481/0.7971, allocations: 1.082 MB / 0.9201 GB, free: 13.8 MB / 0.7169 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.001574/0.7987, allocations: 0.535 MB / 0.9207 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004806/0.8035, allocations: 2.195 MB / 0.9228 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.8036, allocations: 1.688 kB / 0.9228 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.8049, allocations: 0.8121 MB / 0.9236 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/0.8095, allocations: 0.7648 MB / 0.9244 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00639/0.8159, allocations: 3.447 MB / 0.9277 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.8171, allocations: 1.27 MB / 0.929 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006619/0.8178, allocations: 127.4 kB / 0.9291 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of SimCode: time 9.51e-07/0.8178, allocations: 0 / 0.9291 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of Templates: time 0.06539/0.8832, allocations: 52.56 MB / 0.9804 GB, free: 292 kB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile clang++ -std=c++17 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/initArray.c:21: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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:37:15: error: assigning to 'double *' from incompatible type 'void *' table->x= malloc( nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:50:12: error: assigning to 'double *' from incompatible type 'void *' tab2 = malloc( nTab * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/exchangeValues.c:59:16: error: assigning to 'double *' from incompatible type 'void *' table->x = malloc(nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegmentCalcHelperMain.o] Error 1