Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 268 MB, free: 10.86 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.001118/0.001118, allocations: 177.8 kB / 327.6 MB, free: 2.094 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.928/1.928, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0008863/0.0008864, allocations: 89.67 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 9.094 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002065/0.2323, allocations: 1.328 MB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2334, allocations: 0.6591 MB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2336, allocations: 8 kB / 0.9034 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.2338, allocations: 19.86 kB / 0.9034 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.234, allocations: 31.83 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2345, allocations: 111.8 kB / 0.9036 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.2346, allocations: 155.7 kB / 0.9037 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2348, allocations: 33.03 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.235, allocations: 79.75 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2351, allocations: 71.73 kB / 0.9039 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.2352, allocations: 4 kB / 0.9039 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.2353, allocations: 23.98 kB / 0.9039 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.2354, allocations: 23.91 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.341e-05/0.2355, allocations: 89.36 kB / 0.904 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.2356, allocations: 115.7 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2357, allocations: 4 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2357, allocations: 4 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2357, allocations: 0 / 0.9041 GB, free: 60.7 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006178/0.2363, allocations: 0.5215 MB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2363, allocations: 12.03 kB / 0.9047 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.2364, allocations: 16.83 kB / 0.9047 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.2367, allocations: 240.1 kB / 0.9049 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.2367, allocations: 12.38 kB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.2368, allocations: 12.38 kB / 0.9049 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.237, allocations: 125.7 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.237, allocations: 0 / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.2371, allocations: 4 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2371, allocations: 0 / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2373, allocations: 75.95 kB / 0.9051 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.2379, allocations: 428.5 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.2381, allocations: 94.53 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.2382, allocations: 76.81 kB / 0.9057 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.2382, allocations: 7.938 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.2385, allocations: 182.8 kB / 0.9059 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.2385, allocations: 4 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006827/0.2392, allocations: 357 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.2392, allocations: 174.1 kB / 0.9064 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.2394, allocations: 171.1 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2394, allocations: 37.64 kB / 0.9066 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.2395, allocations: 108.4 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2395, allocations: 27.64 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2395, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.2396, allocations: 330.8 kB / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2397, allocations: 59.95 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.2398, allocations: 105 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2401, allocations: 320.9 kB / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2401, allocations: 0 / 0.9075 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004245/0.2405, allocations: 360.2 kB / 0.9078 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.2406, allocations: 122.8 kB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2406, allocations: 0 / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2406, allocations: 4 kB / 0.908 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2407, allocations: 19.98 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.2408, allocations: 0 / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.2409, allocations: 27.83 kB / 0.908 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.2409, allocations: 8.094 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001171/0.241, allocations: 204.2 kB / 0.9082 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.241, allocations: 15.89 kB / 0.9082 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.2411, allocations: 21.39 kB / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2411, allocations: 0 / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2411, allocations: 0 / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2411, allocations: 0 / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005645/0.2417, allocations: 0.6034 MB / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2417, allocations: 0 / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.2418, allocations: 12 kB / 0.9088 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2418, allocations: 0 / 0.9088 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2418, allocations: 7.984 kB / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2418, allocations: 80 / 0.9088 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2418, allocations: 11.92 kB / 0.9089 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.2423, allocations: 410.6 kB / 0.9093 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.2423, allocations: 88.95 kB / 0.9093 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.2423, allocations: 15.92 kB / 0.9094 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.2425, allocations: 12 kB / 0.9094 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2425, allocations: 11.92 kB / 0.9094 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2425, allocations: 12 kB / 0.9094 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.2426, allocations: 132.3 kB / 0.9095 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2426, allocations: 0 / 0.9095 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002601/0.2429, allocations: 32 kB / 0.9095 GB, free: 54.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0002317/0.2431, allocations: 127.1 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.2435, allocations: 373.4 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2435, allocations: 0.5 kB / 0.91 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2437, allocations: 214.7 kB / 0.9102 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.244, allocations: 20 kB / 0.9102 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.2445, allocations: 355.8 kB / 0.9106 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.2447, allocations: 0.7043 MB / 0.9113 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2447, allocations: 19.42 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2447, allocations: 3.938 kB / 0.9113 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003379/0.2481, allocations: 2.129 MB / 0.9134 GB, free: 50.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterFree.c:23:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterInit.c:11: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:24:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:25:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:37:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = realloc(FileWriterNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:38:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = realloc(InstanceNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:43:40: error: assigning to 'char *' from incompatible type 'void *' FileWriterNames[FileWriterNames_n] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:44:38: error: assigning to 'char *' from incompatible type 'void *' InstanceNames[FileWriterNames_n] = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:56:24: error: assigning to 'char *' from incompatible type 'void *' ID->fileWriterName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:61:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1