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.001506/0.001506, allocations: 103.1 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 192.1 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001589/0.001589, allocations: 63.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2462, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004046/0.2503, allocations: 2.344 MB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4149/0.6652, allocations: 1.027 MB / 0.7881 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.6655, allocations: 10.94 kB / 0.7881 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.6658, allocations: 55.3 kB / 0.7881 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.666, allocations: 78.3 kB / 0.7882 GB, free: 46.61 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.0005446/0.6666, allocations: 166.2 kB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.6668, allocations: 290.9 kB / 0.7887 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.667, allocations: 39.17 kB / 0.7887 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.6671, allocations: 101.2 kB / 0.7888 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.6673, allocations: 118.1 kB / 0.7889 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.6673, allocations: 18.38 kB / 0.7889 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.6676, allocations: 117.6 kB / 0.789 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.6676, allocations: 48.53 kB / 0.7891 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.6677, allocations: 119.9 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.6681, allocations: 316.1 kB / 0.7895 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6681, allocations: 0.75 kB / 0.7895 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6681, allocations: 0 / 0.7895 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6681, allocations: 0 / 0.7895 GB, free: 46.49 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.0008627/0.669, allocations: 0.5836 MB / 0.7901 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.669, allocations: 13.2 kB / 0.7901 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.6691, allocations: 26.41 kB / 0.7901 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.6695, allocations: 294.5 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.6696, allocations: 19.06 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.6696, allocations: 20.94 kB / 0.7904 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.67, allocations: 201.6 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.67, allocations: 11.97 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.6701, allocations: 6.906 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6701, allocations: 2.625 kB / 0.7906 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003211/0.6704, allocations: 113.3 kB / 0.7907 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.6712, allocations: 0.8681 MB / 0.7916 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.6717, allocations: 208.1 kB / 0.7918 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.6718, allocations: 77.47 kB / 0.7919 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.6719, allocations: 3.5 kB / 0.7919 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003444/0.6722, allocations: 207.5 kB / 0.7921 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.6722, allocations: 0 / 0.7921 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0008031/0.673, allocations: 353 kB / 0.7924 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.6731, allocations: 118.9 kB / 0.7925 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.6733, allocations: 245.3 kB / 0.7927 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.6733, allocations: 41.67 kB / 0.7928 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.957e-05/0.6734, allocations: 140.5 kB / 0.7929 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.6734, allocations: 60.59 kB / 0.793 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.6735, allocations: 75.3 kB / 0.793 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.6736, allocations: 341.9 kB / 0.7934 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.6738, allocations: 82.86 kB / 0.7935 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.6741, allocations: 260.6 kB / 0.7937 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.6745, allocations: 383.5 kB / 0.7941 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6745, allocations: 3.5 kB / 0.7941 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005952/0.6751, allocations: 396.1 kB / 0.7944 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6751, allocations: 32.39 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.6752, allocations: 7.719 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.6752, allocations: 9.734 kB / 0.7945 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.6754, allocations: 69.3 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6754, allocations: 6.969 kB / 0.7946 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.6756, allocations: 62.14 kB / 0.7946 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.6757, allocations: 17.16 kB / 0.7946 GB, free: 43.47 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.0001141/0.6758, allocations: 160.4 kB / 0.7948 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.6758, allocations: 30.41 kB / 0.7948 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.6759, allocations: 25.06 kB / 0.7948 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.6759, allocations: 7.406 kB / 0.7949 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6759, allocations: 2.969 kB / 0.7949 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6759, allocations: 7.359 kB / 0.7949 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.6761, allocations: 261.9 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.6761, allocations: 2.625 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.6763, allocations: 19.59 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6763, allocations: 2.625 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.6763, allocations: 8.969 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.6763, allocations: 2.625 kB / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6763, allocations: 0 / 0.7951 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.677, allocations: 416.9 kB / 0.7955 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.6771, allocations: 106.2 kB / 0.7956 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.6771, allocations: 9.406 kB / 0.7957 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.6773, allocations: 17.08 kB / 0.7957 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.6774, allocations: 26.73 kB / 0.7957 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.6774, allocations: 12.88 kB / 0.7957 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001086/0.6775, allocations: 167 kB / 0.7959 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6775, allocations: 0 / 0.7959 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003728/0.6779, allocations: 84.09 kB / 0.796 GB, free: 42.83 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.000309/0.6782, allocations: 176.2 kB / 0.7961 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.6787, allocations: 302.5 kB / 0.7964 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6788, allocations: 3.312 kB / 0.7964 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.679, allocations: 100.9 kB / 0.7965 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.6794, allocations: 68.73 kB / 0.7966 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.6803, allocations: 0.6118 MB / 0.7972 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.6805, allocations: 0.7381 MB / 0.7979 GB, free: 41.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.6805, allocations: 24.88 kB / 0.7979 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6806, allocations: 4 kB / 0.7979 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.007001/0.6876, allocations: 3.832 MB / 0.8017 GB, free: 41.33 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