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.001238/0.001238, allocations: 104.1 kB / 15.98 MB, free: 6.352 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.001252/0.001252, allocations: 195.3 kB / 16.91 MB, free: 6.188 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.451/1.451, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.715/1.715, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001611/0.001611, allocations: 66.23 kB / 0.6717 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2569, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment): time 0.04966/0.3066, allocations: 48.81 MB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02011/0.3268, allocations: 13.79 MB / 0.8446 GB, free: 15.1 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002987/0.3298, allocations: 59.62 kB / 0.8447 GB, free: 15.04 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3324, allocations: 0.7696 MB / 0.8455 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.3394, allocations: 2.305 MB / 0.8477 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.3438, allocations: 1.573 MB / 0.8492 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006827/0.3506, allocations: 5.119 MB / 0.8542 GB, free: 5.266 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.353, allocations: 1.703 MB / 0.8559 GB, free: 3.527 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.3576, allocations: 1.87 MB / 0.8577 GB, free: 1.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.3601, allocations: 1.522 MB / 0.8592 GB, free: 132 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.3605, allocations: 260 kB / 0.8595 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004051/0.3645, allocations: 1.946 MB / 0.8614 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.3653, allocations: 0.6349 MB / 0.862 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.3669, allocations: 1.202 MB / 0.8632 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.3712, allocations: 3.414 MB / 0.8665 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3713, allocations: 0 / 0.8665 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3713, allocations: 4 kB / 0.8665 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.89e-05/0.3713, allocations: 3.938 kB / 0.8665 GB, free: 8.652 MB / 0.6856 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.005595/0.3769, allocations: 2.542 MB / 0.869 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.377, allocations: 12.03 kB / 0.869 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006046/0.3776, allocations: 210.6 kB / 0.8692 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/0.3804, allocations: 1.711 MB / 0.8709 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.3805, allocations: 98.16 kB / 0.871 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002185/0.3807, allocations: 144 kB / 0.8711 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.3827, allocations: 1.235 MB / 0.8723 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.3828, allocations: 0 / 0.8723 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.3829, allocations: 48 kB / 0.8723 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.3829, allocations: 35.94 kB / 0.8724 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.3844, allocations: 0.9412 MB / 0.8733 GB, free: 1.504 MB / 0.6856 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.01078/0.3952, allocations: 7.198 MB / 0.8803 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.3978, allocations: 1.12 MB / 0.8814 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.3985, allocations: 459.1 kB / 0.8819 GB, free: 8.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007222/0.3992, allocations: 0.6058 MB / 0.8825 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/0.4, allocations: 452.2 kB / 0.8829 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/0.4, allocations: 0 / 0.8829 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.005982/0.406, allocations: 2.944 MB / 0.8858 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4061, allocations: 60.06 kB / 0.8858 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.408, allocations: 1.392 MB / 0.8872 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.4081, allocations: 53.7 kB / 0.8872 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006454/0.4088, allocations: 0.677 MB / 0.8879 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.4091, allocations: 291.8 kB / 0.8882 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.4095, allocations: 303.5 kB / 0.8885 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4097, allocations: 361.9 kB / 0.8888 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.4106, allocations: 0.5865 MB / 0.8894 GB, free: 264 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.4118, allocations: 0.9051 MB / 0.8903 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.4136, allocations: 1.258 MB / 0.8915 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4136, allocations: 4 kB / 0.8915 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003051/0.4167, allocations: 1.844 MB / 0.8933 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4167, allocations: 8 kB / 0.8933 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.4167, allocations: 8 kB / 0.8933 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/0.4175, allocations: 261.2 kB / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4189, allocations: 291.7 kB / 0.8938 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.4203, allocations: 1.583 MB / 0.8954 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/0.4234, allocations: 171.6 kB / 0.8955 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.4235, allocations: 59.98 kB / 0.8956 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001563/0.4251, allocations: 0.9301 MB / 0.8965 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001179/0.4263, allocations: 0.8902 MB / 0.8974 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001747/0.428, allocations: 1.258 MB / 0.8986 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/0.428, allocations: 7.938 kB / 0.8986 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.003049/0.4311, allocations: 1.839 MB / 0.9004 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4311, allocations: 8 kB / 0.9004 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.4312, allocations: 8 kB / 0.9004 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/0.4318, allocations: 261.4 kB / 0.9007 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.4331, allocations: 275.5 kB / 0.9009 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.4342, allocations: 0.9818 MB / 0.9019 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/0.4373, allocations: 175.5 kB / 0.9021 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.4375, allocations: 59.97 kB / 0.9021 GB, free: 2.723 MB / 0.7169 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.0003944/0.4379, allocations: 262.9 kB / 0.9024 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/0.4382, allocations: 146.2 kB / 0.9025 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.4402, allocations: 1.065 MB / 0.9035 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.4402, allocations: 15.94 kB / 0.9036 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4402, allocations: 0 / 0.9036 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001367/0.4416, allocations: 0.9518 MB / 0.9045 GB, free: 232 kB / 0.7169 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.004397/0.446, allocations: 2.856 MB / 0.9073 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.446, allocations: 4 kB / 0.9073 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.4468, allocations: 147.9 kB / 0.9074 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.4471, allocations: 122.5 kB / 0.9075 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.4472, allocations: 27.98 kB / 0.9076 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004562/0.4517, allocations: 5.792 MB / 0.9132 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4518, allocations: 4.031 kB / 0.9132 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.4546, allocations: 1.604 MB / 0.9148 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008187/0.4554, allocations: 351.1 kB / 0.9151 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.4556, allocations: 27.98 kB / 0.9152 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.4573, allocations: 95.72 kB / 0.9152 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4574, allocations: 60.52 kB / 0.9153 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.814e-05/0.4575, allocations: 27.98 kB / 0.9153 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00145/0.459, allocations: 0.931 MB / 0.9162 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.459, allocations: 0 / 0.9162 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003485/0.4625, allocations: 1.086 MB / 0.9173 GB, free: 2.508 MB / 0.7325 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.001373/0.4639, allocations: 0.5326 MB / 0.9178 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3847/0.8485, allocations: 2.323 MB / 0.9201 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.8486, allocations: 0.875 kB / 0.9201 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.8499, allocations: 0.797 MB / 0.9209 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.8538, allocations: 0.7707 MB / 0.9216 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.8596, allocations: 4.019 MB / 0.9255 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.8605, allocations: 1.27 MB / 0.9268 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.8611, allocations: 131.7 kB / 0.9269 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/0.8611, allocations: 0 / 0.9269 GB, free: 129.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.06525/0.9264, allocations: 52.31 MB / 0.978 GB, free: 100.2 MB / 0.7325 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++14 -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