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.366/1.366, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0009981/0.0009978, allocations: 178.7 kB / 326.5 MB, free: 2.684 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.759/1.759, allocations: 205 MB / 0.5766 GB, free: 21.02 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.000836/0.000836, allocations: 86.38 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8.344 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2462, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002624/0.2489, allocations: 2.061 MB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2503, allocations: 1.053 MB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2504, allocations: 7.938 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.2507, allocations: 39.75 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.2509, allocations: 75.41 kB / 0.8999 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.2513, allocations: 135.7 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.2515, allocations: 278.7 kB / 0.9003 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2517, allocations: 28.39 kB / 0.9003 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2518, allocations: 107.5 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2519, allocations: 99.53 kB / 0.9005 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.252, allocations: 8 kB / 0.9005 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.2522, allocations: 95.86 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2523, allocations: 39.83 kB / 0.9007 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.2524, allocations: 119.4 kB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2526, allocations: 215.5 kB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.2527, allocations: 3.938 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2527, allocations: 4 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2527, allocations: 7.938 kB / 0.901 GB, free: 63.78 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.0009409/0.2536, allocations: 0.5515 MB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.2537, allocations: 12.03 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.2538, allocations: 24.66 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.2542, allocations: 295 kB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.2542, allocations: 12.61 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.2543, allocations: 20.31 kB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.2547, allocations: 212.6 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.2547, allocations: 4 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2547, allocations: 11.92 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2547, allocations: 4 kB / 0.9021 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.2551, allocations: 119.8 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008816/0.256, allocations: 0.8722 MB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.2564, allocations: 215.9 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2566, allocations: 86.58 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2566, allocations: 4 kB / 0.9034 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003931/0.257, allocations: 214.5 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 2.164e-06/0.257, allocations: 0 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0008002/0.2578, allocations: 377.2 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2579, allocations: 122.7 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2581, allocations: 250.4 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2581, allocations: 37.7 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.395e-05/0.2582, allocations: 144.5 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-05/0.2583, allocations: 59.23 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.2583, allocations: 45.7 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.2584, allocations: 338.8 kB / 0.9049 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2586, allocations: 92.7 kB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.2589, allocations: 255.9 kB / 0.9052 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.2593, allocations: 400.5 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2593, allocations: 0 / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005857/0.2599, allocations: 422.6 kB / 0.906 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.26, allocations: 34.08 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.26, allocations: 8.531 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.26, allocations: 12 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.2602, allocations: 71.83 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.2602, allocations: 24.2 kB / 0.9061 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.2604, allocations: 47.67 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.2605, allocations: 16 kB / 0.9062 GB, free: 57.95 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 (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.0001118/0.2606, allocations: 164 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.2606, allocations: 27.7 kB / 0.9064 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.2607, allocations: 25.7 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.2607, allocations: 0 / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2607, allocations: 11.88 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2607, allocations: 3.938 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.2609, allocations: 261.4 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2609, allocations: 0 / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2611, allocations: 27.98 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.2611, allocations: 3.984 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2611, allocations: 8 kB / 0.9067 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.2611, allocations: 4 kB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2611, allocations: 3.938 kB / 0.9067 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.2618, allocations: 448.3 kB / 0.9072 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2619, allocations: 100.8 kB / 0.9072 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.2619, allocations: 12 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2621, allocations: 11.98 kB / 0.9073 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.2621, allocations: 27.91 kB / 0.9073 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2622, allocations: 15.98 kB / 0.9073 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001211/0.2623, allocations: 162 kB / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2623, allocations: 0 / 0.9075 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003438/0.2627, allocations: 87.98 kB / 0.9076 GB, free: 56.47 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.0003185/0.263, allocations: 178.1 kB / 0.9077 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.2635, allocations: 308.5 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2635, allocations: 3.938 kB / 0.908 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.2638, allocations: 107.9 kB / 0.9081 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2641, allocations: 60.7 kB / 0.9082 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2652, allocations: 0.683 MB / 0.9088 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2653, allocations: 0.741 MB / 0.9096 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.2654, allocations: 27.44 kB / 0.9096 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2654, allocations: 0 / 0.9096 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.004796/0.2702, allocations: 3.81 MB / 0.9133 GB, free: 50.52 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