Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.371/1.371, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 180.2 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008952/0.0008953, allocations: 87.69 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 8.969 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002577/0.2318, allocations: 2.029 MB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2332, allocations: 1.045 MB / 0.9045 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.2334, allocations: 7.938 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.2336, allocations: 39.75 kB / 0.9045 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2338, allocations: 75.41 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.2342, allocations: 139.7 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.2344, allocations: 274.7 kB / 0.905 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2346, allocations: 32.38 kB / 0.905 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2347, allocations: 99.52 kB / 0.9051 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.2349, allocations: 103.5 kB / 0.9052 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.2349, allocations: 12 kB / 0.9052 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.2352, allocations: 103.8 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.2352, allocations: 39.78 kB / 0.9054 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.2354, allocations: 137.1 kB / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.2356, allocations: 223.6 kB / 0.9057 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2356, allocations: 0 / 0.9057 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2356, allocations: 0 / 0.9057 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2356, allocations: 0 / 0.9057 GB, free: 59.1 MB / 0.6042 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.000878/0.2365, allocations: 0.5461 MB / 0.9062 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2366, allocations: 12.03 kB / 0.9062 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.2366, allocations: 24.66 kB / 0.9063 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.237, allocations: 298.9 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.2371, allocations: 16.61 kB / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.2371, allocations: 28.36 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.2375, allocations: 204.6 kB / 0.9068 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2376, allocations: 8 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.2376, allocations: 7.984 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.2376, allocations: 4 kB / 0.9068 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.2379, allocations: 123.8 kB / 0.9069 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.2388, allocations: 0.8762 MB / 0.9078 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.2393, allocations: 223.8 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.2395, allocations: 82.58 kB / 0.9081 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2395, allocations: 8 kB / 0.9081 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004198/0.2399, allocations: 211.7 kB / 0.9083 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.2399, allocations: 0 / 0.9083 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007727/0.2407, allocations: 373.1 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2408, allocations: 123.2 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2409, allocations: 242.5 kB / 0.909 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.241, allocations: 37.69 kB / 0.909 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.241, allocations: 140.5 kB / 0.9092 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.2411, allocations: 67.19 kB / 0.9092 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.2411, allocations: 8 kB / 0.9092 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.773e-05/0.2412, allocations: 338.8 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.2414, allocations: 88.75 kB / 0.9096 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2417, allocations: 263.8 kB / 0.9099 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.2421, allocations: 404.4 kB / 0.9103 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2421, allocations: 0 / 0.9103 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006111/0.2427, allocations: 418.9 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.2428, allocations: 33.7 kB / 0.9107 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2428, allocations: 8 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2428, allocations: 8 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.243, allocations: 67.84 kB / 0.9108 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.243, allocations: 20.11 kB / 0.9108 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.2433, allocations: 51.61 kB / 0.9109 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.2433, allocations: 20 kB / 0.9109 GB, free: 53.3 MB / 0.6042 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 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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.0001107/0.2434, allocations: 163.9 kB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.2434, allocations: 23.72 kB / 0.9111 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.2435, allocations: 25.7 kB / 0.9111 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2435, allocations: 4 kB / 0.9111 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2435, allocations: 7.938 kB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2435, allocations: 0 / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2437, allocations: 261.4 kB / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2437, allocations: 0 / 0.9113 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.2439, allocations: 23.92 kB / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2439, allocations: 4 kB / 0.9114 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.2439, allocations: 12.23 kB / 0.9114 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2439, allocations: 8 kB / 0.9114 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.2439, allocations: 7.938 kB / 0.9114 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.2446, allocations: 441.5 kB / 0.9118 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.2447, allocations: 100.8 kB / 0.9119 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.2447, allocations: 12.03 kB / 0.9119 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.2449, allocations: 19.98 kB / 0.9119 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.245, allocations: 27.91 kB / 0.912 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.245, allocations: 11.98 kB / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2451, allocations: 166 kB / 0.9121 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2451, allocations: 0 / 0.9121 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003545/0.2455, allocations: 83.98 kB / 0.9122 GB, free: 51.83 MB / 0.6042 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.0003335/0.2458, allocations: 182.2 kB / 0.9124 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.2463, allocations: 307.1 kB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2463, allocations: 1.438 kB / 0.9127 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.2466, allocations: 115.8 kB / 0.9128 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2469, allocations: 52.52 kB / 0.9128 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.248, allocations: 0.7429 MB / 0.9136 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2482, allocations: 0.7448 MB / 0.9143 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2482, allocations: 27.44 kB / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2482, allocations: 0 / 0.9143 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.004974/0.2532, allocations: 3.81 MB / 0.918 GB, free: 45.81 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile clang++ -std=c++14 -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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/initArray.c:20: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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:35:15: error: assigning to 'double *' from incompatible type 'void *' table->x= malloc( nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:48:12: error: assigning to 'double *' from incompatible type 'void *' tab2 = malloc( nTab * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/exchangeValues.c:57:16: error: assigning to 'double *' from incompatible type 'void *' table->x = malloc(nNew * sizeof(double) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryConditionCalcHelperMain.o] Error 1