Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001821/0.001821, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001988/0.001988, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.2 MB / 426.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 0.506 GB, free: 8.324 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 80.92 MB / 0.5851 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002538/0.3382, allocations: 1.605 MB / 0.5866 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.339, allocations: 0.6054 MB / 0.5872 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.3391, allocations: 1.469 kB / 0.5872 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.3392, allocations: 22.83 kB / 0.5872 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3394, allocations: 43.38 kB / 0.5873 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003463/0.3398, allocations: 112.3 kB / 0.5874 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.34, allocations: 198.5 kB / 0.5876 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3401, allocations: 28.05 kB / 0.5876 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.3403, allocations: 85.88 kB / 0.5877 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.3404, allocations: 88.62 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.3404, allocations: 18.72 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.3405, allocations: 26.22 kB / 0.5878 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.3406, allocations: 22.55 kB / 0.5878 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.3407, allocations: 76.83 kB / 0.5879 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3409, allocations: 162.7 kB / 0.5881 GB, free: 22.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3409, allocations: 0.875 kB / 0.5881 GB, free: 22.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3409, allocations: 1.406 kB / 0.5881 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3409, allocations: 0.5 kB / 0.5881 GB, free: 22.93 MB / 446.1 MB 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.000604/0.3415, allocations: 0.5639 MB / 0.5886 GB, free: 22.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3416, allocations: 10.39 kB / 0.5886 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.3417, allocations: 15.47 kB / 0.5886 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3419, allocations: 242.7 kB / 0.5889 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3419, allocations: 7 kB / 0.5889 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.342, allocations: 16.62 kB / 0.5889 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3422, allocations: 112.1 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3422, allocations: 1.125 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.3423, allocations: 6.219 kB / 0.589 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3423, allocations: 1.719 kB / 0.589 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.3425, allocations: 72.75 kB / 0.5891 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.343, allocations: 412.9 kB / 0.5895 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.3432, allocations: 86.47 kB / 0.5896 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3433, allocations: 79.3 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3434, allocations: 3.312 kB / 0.5896 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.3436, allocations: 185.8 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3436, allocations: 2.281 kB / 0.5898 GB, free: 21.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.000632/0.3443, allocations: 346.5 kB / 0.5902 GB, free: 21.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3443, allocations: 167.7 kB / 0.5903 GB, free: 20.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3445, allocations: 184.7 kB / 0.5905 GB, free: 20.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3445, allocations: 29.64 kB / 0.5905 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.3445, allocations: 109.7 kB / 0.5906 GB, free: 20.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3446, allocations: 31.62 kB / 0.5906 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.3446, allocations: 41.7 kB / 0.5907 GB, free: 20.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.3447, allocations: 332.5 kB / 0.591 GB, free: 20.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3448, allocations: 47.97 kB / 0.5911 GB, free: 20.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.3449, allocations: 105.4 kB / 0.5912 GB, free: 19.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.3452, allocations: 313.1 kB / 0.5915 GB, free: 19.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3452, allocations: 0.75 kB / 0.5915 GB, free: 19.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004198/0.3456, allocations: 346.7 kB / 0.5918 GB, free: 19.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.3457, allocations: 118.8 kB / 0.5919 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3457, allocations: 4 kB / 0.5919 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3457, allocations: 7.469 kB / 0.5919 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3458, allocations: 19.92 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3458, allocations: 0 / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.3459, allocations: 23.84 kB / 0.5919 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.346, allocations: 11.98 kB / 0.592 GB, free: 18.99 MB / 446.1 MB 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.0001102/0.3461, allocations: 193.2 kB / 0.5921 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3461, allocations: 15.91 kB / 0.5922 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.3461, allocations: 13.91 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3462, allocations: 0.5625 kB / 0.5922 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3462, allocations: 9.484 kB / 0.5922 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3462, allocations: 0 / 0.5922 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.3467, allocations: 0.5818 MB / 0.5928 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3467, allocations: 0 / 0.5928 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.3468, allocations: 15.92 kB / 0.5928 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3468, allocations: 0 / 0.5928 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3468, allocations: 12 kB / 0.5928 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3468, allocations: 8.641 kB / 0.5928 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3468, allocations: 6.188 kB / 0.5928 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3473, allocations: 398.6 kB / 0.5932 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3473, allocations: 92.92 kB / 0.5933 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3473, allocations: 8.469 kB / 0.5933 GB, free: 17.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3475, allocations: 5 kB / 0.5933 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3475, allocations: 15.92 kB / 0.5933 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3475, allocations: 13.73 kB / 0.5933 GB, free: 17.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.3476, allocations: 123.5 kB / 0.5934 GB, free: 17.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3476, allocations: 4 kB / 0.5934 GB, free: 17.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.3479, allocations: 35.94 kB / 0.5935 GB, free: 17.34 MB / 446.1 MB 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.0002002/0.3481, allocations: 126.6 kB / 0.5936 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000394/0.3485, allocations: 363.3 kB / 0.5939 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3485, allocations: 0 / 0.5939 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3487, allocations: 209.1 kB / 0.5941 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.349, allocations: 23.92 kB / 0.5941 GB, free: 16.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.3495, allocations: 313.7 kB / 0.5944 GB, free: 16.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.3497, allocations: 0.7143 MB / 0.5951 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.3497, allocations: 15.44 kB / 0.5952 GB, free: 15.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3497, allocations: 0 / 0.5952 GB, free: 15.47 MB / 446.1 MB Notification: Performance of Templates: time 0.003559/0.3533, allocations: 2.175 MB / 0.5973 GB, free: 13.36 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/fileWriterInit.c:12: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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/IDEAS 3.0.0-master/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: *** [: OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1