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.005863/0.005862, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001306/0.001307, allocations: 192.4 kB / 16.79 MB, free: 5.816 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.1 MB / 425.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.55 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 80.92 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002919/0.1573, allocations: 1.657 MB / 0.586 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1584, allocations: 0.6274 MB / 0.5866 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.1585, allocations: 0 / 0.5866 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1587, allocations: 19.86 kB / 0.5866 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1589, allocations: 39.83 kB / 0.5866 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1592, allocations: 99.89 kB / 0.5867 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1594, allocations: 155.6 kB / 0.5869 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1595, allocations: 25.09 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.1597, allocations: 83.69 kB / 0.587 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1598, allocations: 83.72 kB / 0.5871 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.1598, allocations: 11.94 kB / 0.5871 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.1599, allocations: 20 kB / 0.5871 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.16, allocations: 27.91 kB / 0.5871 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.1601, allocations: 71.64 kB / 0.5872 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.1603, allocations: 112.1 kB / 0.5873 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1603, allocations: 0 / 0.5873 GB, free: 1.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1603, allocations: 0 / 0.5873 GB, free: 1.977 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1603, allocations: 0 / 0.5873 GB, free: 1.977 MB / 494.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.0007377/0.1611, allocations: 0.5718 MB / 0.5878 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1611, allocations: 8.031 kB / 0.5879 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1612, allocations: 16.84 kB / 0.5879 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.1615, allocations: 245.6 kB / 0.5881 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1615, allocations: 8.375 kB / 0.5881 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.1615, allocations: 12.38 kB / 0.5881 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.1618, allocations: 113.7 kB / 0.5882 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1618, allocations: 0 / 0.5882 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1619, allocations: 4 kB / 0.5882 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1619, allocations: 4 kB / 0.5882 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1621, allocations: 71.89 kB / 0.5883 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.1627, allocations: 408.6 kB / 0.5887 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.1629, allocations: 94.56 kB / 0.5888 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.1631, allocations: 72.81 kB / 0.5889 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1631, allocations: 0 / 0.5889 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.1635, allocations: 186.8 kB / 0.589 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.1635, allocations: 0 / 0.589 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007224/0.1642, allocations: 353.1 kB / 0.5894 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.1643, allocations: 162.2 kB / 0.5895 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1645, allocations: 188.1 kB / 0.5897 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1645, allocations: 33.64 kB / 0.5897 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.1646, allocations: 108.4 kB / 0.5898 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1647, allocations: 23.7 kB / 0.5899 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.1647, allocations: 37.7 kB / 0.5899 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1649, allocations: 334.8 kB / 0.5902 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.165, allocations: 55.89 kB / 0.5903 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1652, allocations: 102.8 kB / 0.5904 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/0.1655, allocations: 312.9 kB / 0.5907 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1655, allocations: 3.938 kB / 0.5907 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005247/0.1661, allocations: 340.1 kB / 0.591 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.1661, allocations: 118.8 kB / 0.5911 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1662, allocations: 0 / 0.5911 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1662, allocations: 4.25 kB / 0.5911 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1663, allocations: 27.92 kB / 0.5911 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1663, allocations: 4 kB / 0.5911 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1664, allocations: 19.83 kB / 0.5912 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.1664, allocations: 8 kB / 0.5912 GB, free: 13.56 MB / 0.4981 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.0001852/0.1666, allocations: 201.7 kB / 0.5914 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.1667, allocations: 11.91 kB / 0.5914 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.1668, allocations: 21.38 kB / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1668, allocations: 0 / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1668, allocations: 4 kB / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1668, allocations: 0 / 0.5914 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.1676, allocations: 0.5913 MB / 0.592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1676, allocations: 0 / 0.592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.1677, allocations: 8 kB / 0.592 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1677, allocations: 0 / 0.592 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.1677, allocations: 15.98 kB / 0.592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1677, allocations: 4 kB / 0.592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.1677, allocations: 7.938 kB / 0.592 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005448/0.1683, allocations: 402.6 kB / 0.5924 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1683, allocations: 88.92 kB / 0.5925 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.1684, allocations: 4 kB / 0.5925 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1685, allocations: 11.98 kB / 0.5925 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.1686, allocations: 15.92 kB / 0.5925 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1686, allocations: 8 kB / 0.5925 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.532e-05/0.1687, allocations: 132.3 kB / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1687, allocations: 0 / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003045/0.169, allocations: 32 kB / 0.5927 GB, free: 11.88 MB / 0.4981 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.0002111/0.1692, allocations: 131 kB / 0.5928 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.1697, allocations: 361.6 kB / 0.5931 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1697, allocations: 0 / 0.5931 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.17, allocations: 210.7 kB / 0.5933 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1703, allocations: 16.5 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.171, allocations: 351.3 kB / 0.5937 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1713, allocations: 0.7083 MB / 0.5944 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1713, allocations: 23.36 kB / 0.5944 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1713, allocations: 0 / 0.5944 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.003812/0.1752, allocations: 2.131 MB / 0.5965 GB, free: 7.867 MB / 0.4981 GB 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++14 -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