Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001516, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001618/0.001618, allocations: 194.7 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.566/1.566, 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.708/1.708, allocations: 292.3 MB / 0.5492 GB, free: 13.55 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.001328/0.001328, allocations: 67.7 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2743, allocations: 114.5 MB / 0.7835 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003853/0.2783, allocations: 2.383 MB / 0.7859 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2798, allocations: 1.03 MB / 0.7869 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.28, allocations: 7.938 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.2802, allocations: 47.75 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.2804, allocations: 67.41 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2809, allocations: 151.7 kB / 0.7871 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2812, allocations: 278.8 kB / 0.7874 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2813, allocations: 44.59 kB / 0.7874 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.2815, allocations: 107.5 kB / 0.7875 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2816, allocations: 115.4 kB / 0.7876 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.2817, allocations: 23.94 kB / 0.7877 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.282, allocations: 115.9 kB / 0.7878 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.282, allocations: 39.84 kB / 0.7878 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2821, allocations: 127.3 kB / 0.7879 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.2824, allocations: 223.5 kB / 0.7882 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2824, allocations: 0 / 0.7882 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2825, allocations: 4 kB / 0.7882 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.2825, allocations: 0 / 0.7882 GB, free: 9.062 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009963/0.2835, allocations: 0.5904 MB / 0.7887 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2835, allocations: 8.031 kB / 0.7887 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/0.2836, allocations: 28.66 kB / 0.7888 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.284, allocations: 294.9 kB / 0.789 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.284, allocations: 20.59 kB / 0.7891 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.2841, allocations: 20.36 kB / 0.7891 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.2845, allocations: 204.6 kB / 0.7893 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2845, allocations: 3.938 kB / 0.7893 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.2845, allocations: 8 kB / 0.7893 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2846, allocations: 4 kB / 0.7893 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.2849, allocations: 107.8 kB / 0.7894 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.2859, allocations: 0.8722 MB / 0.7903 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.2864, allocations: 207.9 kB / 0.7904 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2866, allocations: 82.59 kB / 0.7905 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2866, allocations: 0 / 0.7905 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.2871, allocations: 204.6 kB / 0.7907 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.2871, allocations: 0 / 0.7907 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008065/0.2879, allocations: 353.1 kB / 0.7911 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.288, allocations: 114.8 kB / 0.7912 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2882, allocations: 250.4 kB / 0.7914 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.2883, allocations: 37.7 kB / 0.7914 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.2884, allocations: 144.5 kB / 0.7916 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.2884, allocations: 63.2 kB / 0.7916 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2885, allocations: 78.44 kB / 0.7917 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2887, allocations: 338.8 kB / 0.792 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2889, allocations: 80.77 kB / 0.7921 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.2892, allocations: 254.9 kB / 0.7924 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.2898, allocations: 392.7 kB / 0.7927 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2898, allocations: 3.938 kB / 0.7927 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000654/0.2904, allocations: 403 kB / 0.7931 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.2905, allocations: 33.8 kB / 0.7932 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2905, allocations: 15.98 kB / 0.7932 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.2905, allocations: 8 kB / 0.7932 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2907, allocations: 63.84 kB / 0.7932 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/0.2908, allocations: 15.88 kB / 0.7933 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.291, allocations: 43.73 kB / 0.7933 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.291, allocations: 19.98 kB / 0.7933 GB, free: 3.273 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.2912, allocations: 163.9 kB / 0.7935 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.2912, allocations: 27.62 kB / 0.7935 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.2913, allocations: 25.7 kB / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2913, allocations: 0 / 0.7935 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2913, allocations: 7.938 kB / 0.7935 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2913, allocations: 7.969 kB / 0.7935 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2916, allocations: 261.4 kB / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2916, allocations: 0 / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2917, allocations: 27.97 kB / 0.7938 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2918, allocations: 4 kB / 0.7938 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2918, allocations: 4.25 kB / 0.7938 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.2918, allocations: 7.984 kB / 0.7938 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.2918, allocations: 7.938 kB / 0.7938 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007971/0.2926, allocations: 413.5 kB / 0.7942 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.2927, allocations: 96.86 kB / 0.7943 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.2927, allocations: 11.94 kB / 0.7943 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.2929, allocations: 15.97 kB / 0.7943 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.293, allocations: 23.92 kB / 0.7944 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.293, allocations: 15.98 kB / 0.7944 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001293/0.2931, allocations: 166 kB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2931, allocations: 4 kB / 0.7945 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004034/0.2936, allocations: 83.92 kB / 0.7946 GB, free: 1.828 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.2939, allocations: 165.6 kB / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006195/0.2946, allocations: 308.3 kB / 0.7951 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2946, allocations: 0 / 0.7951 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.2948, allocations: 107.9 kB / 0.7952 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.2952, allocations: 67.02 kB / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2965, allocations: 0.697 MB / 0.7959 GB, free: 456 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.2969, allocations: 0.7407 MB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.2969, allocations: 35.42 kB / 0.7967 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2969, allocations: 0 / 0.7967 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.006272/0.3032, allocations: 3.822 MB / 0.8004 GB, free: 11.85 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.SingleUTubeBoundaryConditionCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionFunctions.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.SingleUTubeBoundaryConditionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionFunctions.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.SingleUTubeBoundaryConditionCalcHelperMain.o] Error 1