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.001383/0.001383, allocations: 106.8 kB / 16.27 MB, free: 6.418 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.001553/0.001553, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.472/1.472, 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.865/1.865, allocations: 292.3 MB / 0.5495 GB, free: 17.42 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.001633/0.001634, allocations: 75.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2601, allocations: 114.5 MB / 0.784 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.005012/0.2652, allocations: 2.336 MB / 0.7863 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2673, allocations: 1.034 MB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.2675, allocations: 7.938 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2678, allocations: 47.62 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.2682, allocations: 83.28 kB / 0.7875 GB, free: 304 kB / 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.0007612/0.269, allocations: 162.9 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5184/0.7874, allocations: 286.8 kB / 0.7879 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.7877, allocations: 37.83 kB / 0.7879 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.788, allocations: 115.4 kB / 0.788 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.7882, allocations: 105.8 kB / 0.7881 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.7882, allocations: 17.28 kB / 0.7882 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004555/0.7887, allocations: 118 kB / 0.7883 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.7888, allocations: 47.77 kB / 0.7883 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.7889, allocations: 116.2 kB / 0.7884 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.7893, allocations: 314.8 kB / 0.7887 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7893, allocations: 0 / 0.7887 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7894, allocations: 1.969 kB / 0.7887 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7894, allocations: 0 / 0.7887 GB, free: 45.89 MB / 0.6544 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.001043/0.7904, allocations: 0.5903 MB / 0.7893 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.7905, allocations: 10.47 kB / 0.7893 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.7905, allocations: 30.25 kB / 0.7893 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.7909, allocations: 295.2 kB / 0.7896 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.791, allocations: 17.47 kB / 0.7896 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.791, allocations: 17.69 kB / 0.7897 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.7914, allocations: 199.6 kB / 0.7899 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.7915, allocations: 9.016 kB / 0.7899 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7915, allocations: 9.266 kB / 0.7899 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.7915, allocations: 3.469 kB / 0.7899 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.7919, allocations: 111.8 kB / 0.79 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008789/0.7927, allocations: 0.8611 MB / 0.7908 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.7932, allocations: 214.2 kB / 0.791 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.7934, allocations: 80.7 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.7934, allocations: 2.625 kB / 0.7911 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.7939, allocations: 201.9 kB / 0.7913 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.7939, allocations: 0 / 0.7913 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0008262/0.7947, allocations: 351.3 kB / 0.7916 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7948, allocations: 118.5 kB / 0.7917 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.795, allocations: 246 kB / 0.792 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.7951, allocations: 38.55 kB / 0.792 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.7952, allocations: 148.8 kB / 0.7922 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.7952, allocations: 57.86 kB / 0.7922 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.7953, allocations: 75.73 kB / 0.7923 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.7954, allocations: 341.9 kB / 0.7926 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.7956, allocations: 81.52 kB / 0.7927 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.7959, allocations: 259.4 kB / 0.7929 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.7964, allocations: 392.5 kB / 0.7933 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7964, allocations: 0 / 0.7933 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006888/0.7971, allocations: 404.3 kB / 0.7937 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.7972, allocations: 32.73 kB / 0.7937 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.7972, allocations: 6.969 kB / 0.7937 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/0.7972, allocations: 10.66 kB / 0.7937 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.7974, allocations: 67.73 kB / 0.7938 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.7975, allocations: 10.08 kB / 0.7938 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.7977, allocations: 49.59 kB / 0.7939 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.7978, allocations: 21.69 kB / 0.7939 GB, free: 42.87 MB / 0.6544 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.0001639/0.7979, allocations: 166.9 kB / 0.794 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.798, allocations: 25.53 kB / 0.7941 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.384e-05/0.7981, allocations: 21.52 kB / 0.7941 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.7981, allocations: 4.156 kB / 0.7941 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.7981, allocations: 3.938 kB / 0.7941 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.7981, allocations: 6.984 kB / 0.7941 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.7984, allocations: 267 kB / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7984, allocations: 0 / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7985, allocations: 23.98 kB / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7985, allocations: 3.5 kB / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.7985, allocations: 9.609 kB / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7985, allocations: 0 / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7986, allocations: 0 / 0.7944 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007922/0.7994, allocations: 421.6 kB / 0.7948 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.7994, allocations: 106.5 kB / 0.7949 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.7995, allocations: 6.625 kB / 0.7949 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.7996, allocations: 12.92 kB / 0.7949 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.7997, allocations: 31.8 kB / 0.7949 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.7997, allocations: 13.53 kB / 0.795 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001257/0.7999, allocations: 169.5 kB / 0.7951 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7999, allocations: 1.312 kB / 0.7951 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003745/0.8003, allocations: 80.14 kB / 0.7952 GB, free: 42.23 MB / 0.6544 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.0003539/0.8006, allocations: 165.5 kB / 0.7954 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.8012, allocations: 310.8 kB / 0.7957 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8012, allocations: 4.25 kB / 0.7957 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.8015, allocations: 96.41 kB / 0.7957 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.8018, allocations: 58.61 kB / 0.7958 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8028, allocations: 0.618 MB / 0.7964 GB, free: 41.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.803, allocations: 0.7414 MB / 0.7971 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.8031, allocations: 27.88 kB / 0.7972 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.8031, allocations: 4 kB / 0.7972 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.01052/0.8136, allocations: 3.833 MB / 0.8009 GB, free: 40.72 MB / 0.6544 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++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.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