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.847/1.847, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009684/0.0009684, allocations: 183.4 kB / 327.3 MB, free: 2.207 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.899/1.899, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0008032/0.0008031, allocations: 104.1 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004414, allocations: 14.41 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2334, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002669/0.2361, allocations: 1.967 MB / 0.9028 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2378, allocations: 0.9914 MB / 0.9037 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.238, allocations: 7.938 kB / 0.9037 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2382, allocations: 39.77 kB / 0.9038 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.2385, allocations: 67.45 kB / 0.9038 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.2391, allocations: 131.7 kB / 0.904 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.2394, allocations: 266.7 kB / 0.9042 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.2395, allocations: 24.39 kB / 0.9042 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.2397, allocations: 99.52 kB / 0.9043 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2399, allocations: 95.59 kB / 0.9044 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.2399, allocations: 16 kB / 0.9044 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.2403, allocations: 103.8 kB / 0.9045 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.2403, allocations: 35.83 kB / 0.9046 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.2404, allocations: 65.58 kB / 0.9046 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2407, allocations: 223.7 kB / 0.9049 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2407, allocations: 4 kB / 0.9049 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2407, allocations: 3.938 kB / 0.9049 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.966e-06/0.2407, allocations: 0 / 0.9049 GB, free: 60.13 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.0009542/0.2417, allocations: 0.5475 MB / 0.9054 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2418, allocations: 8.031 kB / 0.9054 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.2418, allocations: 31.67 kB / 0.9054 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.2423, allocations: 289.8 kB / 0.9057 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2423, allocations: 12.23 kB / 0.9057 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.2423, allocations: 23.98 kB / 0.9057 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.2427, allocations: 204.2 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2428, allocations: 4 kB / 0.9059 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.2428, allocations: 11.98 kB / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2428, allocations: 7.984 kB / 0.906 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.2432, allocations: 119.8 kB / 0.9061 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008769/0.244, allocations: 0.8721 MB / 0.9069 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.2445, allocations: 223.8 kB / 0.9071 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2447, allocations: 86.48 kB / 0.9072 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2447, allocations: 11.95 kB / 0.9072 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004278/0.2452, allocations: 216.9 kB / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.235e-06/0.2452, allocations: 0 / 0.9074 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007924/0.246, allocations: 369.2 kB / 0.9078 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.246, allocations: 118.7 kB / 0.9079 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.2462, allocations: 242.5 kB / 0.9081 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.2463, allocations: 37.7 kB / 0.9082 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.2464, allocations: 148.5 kB / 0.9083 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.2464, allocations: 59.25 kB / 0.9084 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.2464, allocations: 8 kB / 0.9084 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.2465, allocations: 334.8 kB / 0.9087 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.2467, allocations: 88.75 kB / 0.9088 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.247, allocations: 263.8 kB / 0.909 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.2472, allocations: 137.6 kB / 0.9092 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2473, allocations: 4 kB / 0.9092 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006647/0.2479, allocations: 422.6 kB / 0.9096 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.248, allocations: 33.7 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.248, allocations: 8 kB / 0.9096 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.248, allocations: 8.469 kB / 0.9096 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.2482, allocations: 75.83 kB / 0.9097 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.2483, allocations: 15.94 kB / 0.9097 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.2485, allocations: 47.67 kB / 0.9098 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.2486, allocations: 16 kB / 0.9098 GB, free: 54.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.2487, allocations: 168.3 kB / 0.9099 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2487, allocations: 31.58 kB / 0.91 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2488, allocations: 25.7 kB / 0.91 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2488, allocations: 0 / 0.91 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2488, allocations: 7.938 kB / 0.91 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2488, allocations: 0 / 0.91 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.2491, allocations: 257.5 kB / 0.9102 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2491, allocations: 3.938 kB / 0.9102 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2492, allocations: 27.98 kB / 0.9103 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.2492, allocations: 0 / 0.9103 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2493, allocations: 15.94 kB / 0.9103 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2493, allocations: 4 kB / 0.9103 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2493, allocations: 0 / 0.9103 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.2501, allocations: 438.1 kB / 0.9107 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2501, allocations: 108.8 kB / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.2502, allocations: 8 kB / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.2503, allocations: 23.92 kB / 0.9108 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.2504, allocations: 23.97 kB / 0.9109 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2504, allocations: 15.98 kB / 0.9109 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001133/0.2506, allocations: 162 kB / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2506, allocations: 0 / 0.911 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003787/0.2509, allocations: 80 kB / 0.9111 GB, free: 53.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003452/0.2513, allocations: 174.3 kB / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005547/0.2519, allocations: 308.5 kB / 0.9116 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2519, allocations: 4.125 kB / 0.9116 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.2521, allocations: 115.8 kB / 0.9117 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.2525, allocations: 63.69 kB / 0.9117 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.2537, allocations: 0.7251 MB / 0.9125 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2538, allocations: 0.7449 MB / 0.9132 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.2539, allocations: 27.44 kB / 0.9132 GB, free: 51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2539, allocations: 0 / 0.9132 GB, free: 51 MB / 0.6042 GB Notification: Performance of Templates: time 0.005988/0.2599, allocations: 3.802 MB / 0.9169 GB, free: 47.22 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++ -Winvalid-pch -O0 -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/c/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