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.001116/0.001116, allocations: 106.8 kB / 15.99 MB, free: 5.91 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.001032/0.001032, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.413/1.413, allocations: 222.9 MB / 240.6 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.7997/0.7997, allocations: 135.1 MB / 425.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001558, allocations: 63.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3518, allocations: 80.92 MB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003267/0.3552, allocations: 1.661 MB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.3561, allocations: 0.6084 MB / 0.5867 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3563, allocations: 2.25 kB / 0.5867 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.3565, allocations: 17 kB / 0.5868 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.3567, allocations: 33.83 kB / 0.5868 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3572, allocations: 102.8 kB / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.3574, allocations: 198.2 kB / 0.5871 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3575, allocations: 24.92 kB / 0.5871 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3577, allocations: 89.28 kB / 0.5872 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3578, allocations: 85.5 kB / 0.5873 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.3579, allocations: 13.31 kB / 0.5873 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.358, allocations: 29.66 kB / 0.5873 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.3581, allocations: 24.17 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.3581, allocations: 76.2 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.3583, allocations: 124.7 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3583, allocations: 0 / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3583, allocations: 1.219 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3584, allocations: 0 / 0.5875 GB, free: 22.88 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.0006461/0.359, allocations: 0.5547 MB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3591, allocations: 11.52 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.277e-05/0.3592, allocations: 16.47 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3595, allocations: 243.5 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3595, allocations: 6.781 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.3595, allocations: 19.91 kB / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3598, allocations: 111.5 kB / 0.5885 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3599, allocations: 1.188 kB / 0.5885 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3599, allocations: 6.406 kB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3599, allocations: 1.406 kB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.3601, allocations: 69.58 kB / 0.5885 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.3607, allocations: 414.1 kB / 0.5889 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3609, allocations: 91.88 kB / 0.589 GB, free: 21.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.361, allocations: 76.81 kB / 0.5891 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3611, allocations: 2.562 kB / 0.5891 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.3613, allocations: 180.1 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.254e-06/0.3613, allocations: 3.984 kB / 0.5893 GB, free: 21.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006659/0.362, allocations: 351.1 kB / 0.5896 GB, free: 21.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3621, allocations: 168.1 kB / 0.5898 GB, free: 20.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3622, allocations: 175.3 kB / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3622, allocations: 32.7 kB / 0.59 GB, free: 20.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.3623, allocations: 104.6 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3623, allocations: 27.67 kB / 0.5901 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.3624, allocations: 42.42 kB / 0.5901 GB, free: 20.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.3625, allocations: 330.8 kB / 0.5904 GB, free: 20.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3626, allocations: 52.48 kB / 0.5905 GB, free: 20.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3627, allocations: 107.1 kB / 0.5906 GB, free: 20.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.363, allocations: 308.2 kB / 0.5909 GB, free: 19.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.363, allocations: 9.141 kB / 0.5909 GB, free: 19.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004293/0.3635, allocations: 343.9 kB / 0.5912 GB, free: 19.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.3635, allocations: 121.1 kB / 0.5913 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3635, allocations: 4.781 kB / 0.5913 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3636, allocations: 0 / 0.5913 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3637, allocations: 20.48 kB / 0.5914 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3637, allocations: 4.562 kB / 0.5914 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.3638, allocations: 24.48 kB / 0.5914 GB, free: 19.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3638, allocations: 12 kB / 0.5914 GB, free: 19.27 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.0001127/0.3639, allocations: 197.9 kB / 0.5916 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.364, allocations: 15.91 kB / 0.5916 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.364, allocations: 25.27 kB / 0.5916 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.364, allocations: 4 kB / 0.5916 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.364, allocations: 0 / 0.5916 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.364, allocations: 1.25 kB / 0.5916 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.3646, allocations: 0.5852 MB / 0.5922 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3646, allocations: 0 / 0.5922 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.3647, allocations: 12 kB / 0.5922 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3647, allocations: 1.562 kB / 0.5922 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3647, allocations: 11.97 kB / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3647, allocations: 0 / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3647, allocations: 3.938 kB / 0.5922 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.3652, allocations: 400.9 kB / 0.5926 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.3652, allocations: 84.92 kB / 0.5927 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3652, allocations: 9.062 kB / 0.5927 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3654, allocations: 11.98 kB / 0.5927 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3654, allocations: 9.5 kB / 0.5927 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.3654, allocations: 11.98 kB / 0.5927 GB, free: 17.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.3655, allocations: 128.3 kB / 0.5929 GB, free: 17.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3655, allocations: 0 / 0.5929 GB, free: 17.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.3658, allocations: 49.48 kB / 0.5929 GB, free: 17.61 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.0002219/0.366, allocations: 121.7 kB / 0.593 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.3664, allocations: 367 kB / 0.5934 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3665, allocations: 0 / 0.5934 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.3666, allocations: 203 kB / 0.5936 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.367, allocations: 23.02 kB / 0.5936 GB, free: 16.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.3675, allocations: 353.8 kB / 0.5939 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.3677, allocations: 0.7053 MB / 0.5946 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.3677, allocations: 20.58 kB / 0.5946 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3677, allocations: 3.938 kB / 0.5946 GB, free: 15.7 MB / 446.1 MB Notification: Performance of Templates: time 0.003485/0.3712, allocations: 2.155 MB / 0.5967 GB, free: 13.61 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++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