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.424/1.424, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001097/0.001097, allocations: 182.2 kB / 326.5 MB, free: 2.656 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0009218/0.0009214, allocations: 89.47 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 11.69 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2343, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001837/0.2362, allocations: 1.344 MB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.2371, allocations: 0.6833 MB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.2372, allocations: 0 / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.2373, allocations: 23.86 kB / 0.8987 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.2375, allocations: 35.83 kB / 0.8988 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.2379, allocations: 99.84 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.238, allocations: 159.6 kB / 0.899 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2381, allocations: 28.98 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.2382, allocations: 83.69 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2383, allocations: 71.73 kB / 0.8992 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.2384, allocations: 8 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.194e-05/0.2385, allocations: 23.98 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.2385, allocations: 27.91 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.2386, allocations: 63.66 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2388, allocations: 111.8 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2388, allocations: 0 / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2388, allocations: 0 / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2388, allocations: 0 / 0.8994 GB, free: 65.39 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.0005454/0.2393, allocations: 0.5329 MB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2394, allocations: 12.02 kB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.2395, allocations: 16.84 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.2397, allocations: 236.2 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2397, allocations: 8.375 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.2397, allocations: 16.38 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.24, allocations: 121.7 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.24, allocations: 0 / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2401, allocations: 4 kB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2401, allocations: 0 / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.2403, allocations: 75.95 kB / 0.9004 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/0.2408, allocations: 432.4 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.241, allocations: 94.53 kB / 0.9009 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2411, allocations: 84.8 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.2411, allocations: 0 / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.2414, allocations: 182.7 kB / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.2414, allocations: 96 / 0.9012 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006095/0.242, allocations: 364.9 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.2421, allocations: 170.2 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2422, allocations: 171.1 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2423, allocations: 41.62 kB / 0.9019 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2423, allocations: 104.4 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2423, allocations: 27.64 kB / 0.902 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.2424, allocations: 21.72 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/0.2424, allocations: 330.8 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2426, allocations: 51.97 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2427, allocations: 110 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.243, allocations: 332.8 kB / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.243, allocations: 0 / 0.9028 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000417/0.2434, allocations: 348.3 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.2435, allocations: 122.8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2435, allocations: 4 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2435, allocations: 0 / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.2436, allocations: 23.92 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2436, allocations: 4 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.2437, allocations: 11.91 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.2437, allocations: 12 kB / 0.9033 GB, free: 60.96 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 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * 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.0001225/0.2439, allocations: 209 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.2439, allocations: 11.91 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2439, allocations: 17.41 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.244, allocations: 4 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.244, allocations: 0 / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.244, allocations: 3.984 kB / 0.9036 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.2445, allocations: 0.5953 MB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2446, allocations: 4 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.232e-05/0.2446, allocations: 15.98 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2446, allocations: 0 / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2447, allocations: 4 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2447, allocations: 4 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2447, allocations: 3.938 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.2451, allocations: 418.8 kB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.2452, allocations: 85.02 kB / 0.9046 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2452, allocations: 4 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2453, allocations: 12 kB / 0.9047 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.2454, allocations: 15.92 kB / 0.9047 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2454, allocations: 4 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.472e-05/0.2455, allocations: 136.3 kB / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2455, allocations: 0 / 0.9048 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002564/0.2457, allocations: 36 kB / 0.9048 GB, free: 59.27 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.0002274/0.246, allocations: 132.8 kB / 0.905 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.2464, allocations: 365.4 kB / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2464, allocations: 0 / 0.9053 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.2466, allocations: 219.2 kB / 0.9055 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.2469, allocations: 18.06 kB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.2474, allocations: 355.6 kB / 0.9059 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.2475, allocations: 0.7082 MB / 0.9066 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.2476, allocations: 11.44 kB / 0.9066 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2476, allocations: 0 / 0.9066 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of Templates: time 0.003287/0.2509, allocations: 2.14 MB / 0.9087 GB, free: 55.22 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