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.001353/0.001353, allocations: 105.4 kB / 16.27 MB, free: 5.996 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.001174/0.001174, allocations: 182.3 kB / 17.19 MB, free: 5.609 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.797/1.797, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001438/0.001438, allocations: 68.23 kB / 0.6722 GB, free: 6.52 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2402, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.4579/0.6981, allocations: 49.19 MB / 0.8321 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01904/0.7172, allocations: 13.87 MB / 0.8456 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.7216, allocations: 60.56 kB / 0.8457 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.7251, allocations: 0.8866 MB / 0.8465 GB, free: 7.113 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009258/0.7344, allocations: 2.486 MB / 0.849 GB, free: 5.617 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.005529/0.74, allocations: 1.691 MB / 0.8506 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007883/0.7479, allocations: 5.096 MB / 0.8556 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.7512, allocations: 1.722 MB / 0.8573 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005446/0.7567, allocations: 1.84 MB / 0.8591 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003614/0.7603, allocations: 1.478 MB / 0.8605 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007329/0.7611, allocations: 260.8 kB / 0.8608 GB, free: 15.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.7671, allocations: 1.93 MB / 0.8627 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.7682, allocations: 0.6299 MB / 0.8633 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.771, allocations: 1.199 MB / 0.8644 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.7792, allocations: 4.239 MB / 0.8686 GB, free: 11.32 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.7792, allocations: 3.938 kB / 0.8686 GB, free: 11.32 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7792, allocations: 0 / 0.8686 GB, free: 11.32 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.7793, allocations: 0.5625 kB / 0.8686 GB, free: 11.32 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.007236/0.7865, allocations: 2.543 MB / 0.8711 GB, free: 9.516 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7866, allocations: 9.812 kB / 0.8711 GB, free: 9.516 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.7874, allocations: 218.4 kB / 0.8713 GB, free: 9.41 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.7905, allocations: 1.666 MB / 0.8729 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.32e-05/0.7907, allocations: 108 kB / 0.873 GB, free: 8.051 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.7909, allocations: 140.7 kB / 0.8731 GB, free: 8.004 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.7931, allocations: 1.231 MB / 0.8743 GB, free: 7.219 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.7932, allocations: 9.109 kB / 0.8744 GB, free: 7.211 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.7933, allocations: 46.38 kB / 0.8744 GB, free: 7.176 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.7933, allocations: 28.25 kB / 0.8744 GB, free: 7.176 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.795, allocations: 0.9432 MB / 0.8754 GB, free: 6.688 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.01262/0.8077, allocations: 7.254 MB / 0.8824 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.8104, allocations: 1.106 MB / 0.8835 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/0.8112, allocations: 471.4 kB / 0.884 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006852/0.8119, allocations: 0.5959 MB / 0.8845 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.8127, allocations: 456.2 kB / 0.885 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 3.256e-06/0.8127, allocations: 0.5625 kB / 0.885 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.00682/0.8195, allocations: 2.946 MB / 0.8879 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.8196, allocations: 61.75 kB / 0.8879 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.8217, allocations: 1.409 MB / 0.8893 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/0.822, allocations: 53.23 kB / 0.8893 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.8226, allocations: 0.667 MB / 0.89 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003619/0.823, allocations: 304.4 kB / 0.8903 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004881/0.8235, allocations: 302.8 kB / 0.8906 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8236, allocations: 361 kB / 0.8909 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009717/0.8246, allocations: 0.5967 MB / 0.8915 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.8258, allocations: 0.8897 MB / 0.8924 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/0.8276, allocations: 1.257 MB / 0.8936 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.8276, allocations: 2.75 kB / 0.8936 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003219/0.8308, allocations: 1.84 MB / 0.8954 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.8308, allocations: 8 kB / 0.8954 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.8309, allocations: 10.34 kB / 0.8954 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.8316, allocations: 268.2 kB / 0.8957 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.833, allocations: 291.5 kB / 0.8959 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.8343, allocations: 1.577 MB / 0.8975 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.8374, allocations: 111.8 kB / 0.8976 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.8375, allocations: 59.97 kB / 0.8977 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001578/0.8391, allocations: 0.9295 MB / 0.8986 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001143/0.8402, allocations: 0.8958 MB / 0.8994 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001715/0.842, allocations: 1.25 MB / 0.9007 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.842, allocations: 8 kB / 0.9007 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.003102/0.8451, allocations: 1.837 MB / 0.9025 GB, free: 320 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.8451, allocations: 9.406 kB / 0.9025 GB, free: 312 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.8452, allocations: 8 kB / 0.9025 GB, free: 304 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006424/0.8458, allocations: 262.4 kB / 0.9027 GB, free: 40 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.847, allocations: 271.6 kB / 0.903 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009863/0.848, allocations: 0.9872 MB / 0.9039 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/0.8513, allocations: 123.9 kB / 0.9041 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.8515, allocations: 55.98 kB / 0.9041 GB, free: 14.59 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.0004136/0.8519, allocations: 263 kB / 0.9044 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003933/0.8523, allocations: 146.3 kB / 0.9045 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.8543, allocations: 1.073 MB / 0.9056 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.8543, allocations: 15.97 kB / 0.9056 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.8543, allocations: 0 / 0.9056 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/0.8557, allocations: 0.9595 MB / 0.9065 GB, free: 12.07 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.004682/0.8603, allocations: 2.872 MB / 0.9093 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.8604, allocations: 0 / 0.9093 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.8611, allocations: 157.2 kB / 0.9095 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003192/0.8614, allocations: 119.7 kB / 0.9096 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.8615, allocations: 27.98 kB / 0.9096 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004506/0.866, allocations: 5.788 MB / 0.9153 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.8661, allocations: 3.984 kB / 0.9153 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.8691, allocations: 1.6 MB / 0.9168 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.8703, allocations: 343.2 kB / 0.9171 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/0.8708, allocations: 27.98 kB / 0.9172 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.8724, allocations: 49.19 kB / 0.9172 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.8725, allocations: 60.58 kB / 0.9173 GB, free: 468 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.8726, allocations: 39.97 kB / 0.9173 GB, free: 428 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001421/0.874, allocations: 0.9349 MB / 0.9182 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/0.874, allocations: 0 / 0.9182 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004286/0.8783, allocations: 1.086 MB / 0.9193 GB, free: 14.4 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.8799, allocations: 0.548 MB / 0.9198 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005018/0.885, allocations: 2.334 MB / 0.9221 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.885, allocations: 0 / 0.9221 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.8863, allocations: 0.8051 MB / 0.9229 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/0.8905, allocations: 0.7638 MB / 0.9236 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.8962, allocations: 3.481 MB / 0.927 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/0.8971, allocations: 1.27 MB / 0.9283 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.8977, allocations: 127.4 kB / 0.9284 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of SimCode: time 6.92e-07/0.8977, allocations: 0 / 0.9284 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of Templates: time 0.06367/0.9614, allocations: 52.57 MB / 0.9797 GB, free: 0.6758 MB / 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