Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 116.9 kB / 16.38 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 189.2 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 72.44 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003404/0.2886, allocations: 1.609 MB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2897, allocations: 0.6477 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.2897, allocations: 4 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.2899, allocations: 27.78 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.2902, allocations: 39.77 kB / 0.7871 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2905, allocations: 119.7 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2908, allocations: 191.6 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2909, allocations: 29.09 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.2912, allocations: 79.77 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2913, allocations: 87.72 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.2914, allocations: 12 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.2914, allocations: 35.97 kB / 0.7876 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.2915, allocations: 23.92 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.2917, allocations: 83.58 kB / 0.7877 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.2919, allocations: 167.5 kB / 0.7879 GB, free: 4 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2919, allocations: 3.938 kB / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2919, allocations: 0 / 0.7879 GB, free: 0 / 0.6544 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.7098, allocations: 0.8906 kB / 0.7879 GB, free: 49.22 MB / 0.6544 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.0007371/0.7106, allocations: 0.5476 MB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7106, allocations: 10.5 kB / 0.7884 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.7107, allocations: 18.86 kB / 0.7884 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.7111, allocations: 234.2 kB / 0.7887 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7111, allocations: 10.38 kB / 0.7887 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.7111, allocations: 17.95 kB / 0.7887 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.7114, allocations: 114.6 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7114, allocations: 3.938 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.7114, allocations: 5.281 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.7115, allocations: 0 / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.7117, allocations: 75.72 kB / 0.7889 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.7122, allocations: 410.9 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.7124, allocations: 93.89 kB / 0.7894 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.7125, allocations: 74.47 kB / 0.7894 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.7126, allocations: 4.234 kB / 0.7894 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.7128, allocations: 180.3 kB / 0.7896 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.7128, allocations: 2.953 kB / 0.7896 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006364/0.7134, allocations: 348.9 kB / 0.7899 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.7135, allocations: 165.8 kB / 0.7901 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.7137, allocations: 177.2 kB / 0.7903 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7137, allocations: 35.02 kB / 0.7903 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.7137, allocations: 107.9 kB / 0.7904 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.7138, allocations: 30.09 kB / 0.7904 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.7139, allocations: 42.11 kB / 0.7905 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.7139, allocations: 324.6 kB / 0.7908 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.7141, allocations: 54.3 kB / 0.7908 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.7142, allocations: 102.3 kB / 0.7909 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.7145, allocations: 309.6 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.7145, allocations: 1.781 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004626/0.715, allocations: 351.2 kB / 0.7916 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.7151, allocations: 114.8 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7151, allocations: 6.797 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.7151, allocations: 2.625 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.7152, allocations: 17.89 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7153, allocations: 3.625 kB / 0.7917 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.7154, allocations: 21.81 kB / 0.7917 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.7154, allocations: 9.844 kB / 0.7917 GB, free: 46.6 MB / 0.6544 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.0001418/0.7155, allocations: 203.8 kB / 0.7919 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.7156, allocations: 14.78 kB / 0.7919 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.7156, allocations: 17.61 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7156, allocations: 3.391 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7156, allocations: 0.5625 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7157, allocations: 0.8438 kB / 0.792 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.7163, allocations: 0.5876 MB / 0.7925 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7163, allocations: 5 kB / 0.7925 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.7164, allocations: 19.7 kB / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.7164, allocations: 0 / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.7164, allocations: 5.953 kB / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7164, allocations: 3.328 kB / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7164, allocations: 0 / 0.7926 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.7169, allocations: 406.5 kB / 0.793 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7169, allocations: 87.11 kB / 0.793 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.717, allocations: 8.484 kB / 0.793 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7171, allocations: 6.25 kB / 0.793 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.7172, allocations: 13.09 kB / 0.7931 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.7172, allocations: 15.91 kB / 0.7931 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.458e-05/0.7173, allocations: 136.9 kB / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7173, allocations: 0 / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002821/0.7176, allocations: 32.59 kB / 0.7932 GB, free: 45.67 MB / 0.6544 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.0002381/0.7178, allocations: 128.9 kB / 0.7934 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.7182, allocations: 359.6 kB / 0.7937 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7182, allocations: 3.312 kB / 0.7937 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.7184, allocations: 208.1 kB / 0.7939 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.7188, allocations: 25.06 kB / 0.7939 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.7193, allocations: 320.4 kB / 0.7942 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.7194, allocations: 0.7077 MB / 0.7949 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.7195, allocations: 18.31 kB / 0.7949 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7195, allocations: 0 / 0.7949 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.003893/0.7234, allocations: 2.167 MB / 0.7971 GB, free: 44.15 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile clang++ -std=c++17 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterInit.c:12: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:26:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:27:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:39: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 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:40: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 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:45: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 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:46: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 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:58: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 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterStructure.c:63:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 errors generated. make: *** [: OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1