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.001161/0.001161, allocations: 105.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.001187/0.001187, allocations: 189.8 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 426.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 59.91 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3506, allocations: 80.91 MB / 0.585 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002496/0.3532, allocations: 1.613 MB / 0.5866 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.354, allocations: 0.6109 MB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.3541, allocations: 5.438 kB / 0.5872 GB, free: 23.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3542, allocations: 13.28 kB / 0.5872 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.3544, allocations: 45.88 kB / 0.5872 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.3548, allocations: 116.6 kB / 0.5874 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.355, allocations: 193.4 kB / 0.5875 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3552, allocations: 27.97 kB / 0.5876 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.3553, allocations: 79.61 kB / 0.5876 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.3555, allocations: 85.62 kB / 0.5877 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.3555, allocations: 21.86 kB / 0.5877 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.67e-05/0.3556, allocations: 32.97 kB / 0.5878 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.3557, allocations: 22.58 kB / 0.5878 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.3558, allocations: 76.73 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.356, allocations: 163.8 kB / 0.588 GB, free: 23.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.356, allocations: 1.094 kB / 0.588 GB, free: 23.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.356, allocations: 0 / 0.588 GB, free: 23.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.356, allocations: 2 kB / 0.588 GB, free: 23.12 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.0005714/0.3566, allocations: 0.5582 MB / 0.5886 GB, free: 22.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3566, allocations: 10.08 kB / 0.5886 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.3567, allocations: 20.16 kB / 0.5886 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.357, allocations: 235.5 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.357, allocations: 8.125 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.357, allocations: 15.94 kB / 0.5888 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.3573, allocations: 112.6 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3573, allocations: 3.984 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3573, allocations: 8.25 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3573, allocations: 1.594 kB / 0.589 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.3575, allocations: 62.42 kB / 0.589 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.3581, allocations: 423.9 kB / 0.5894 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3583, allocations: 84.41 kB / 0.5895 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.3584, allocations: 75.28 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3585, allocations: 2 kB / 0.5896 GB, free: 21.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.3587, allocations: 191 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.3587, allocations: 4.797 kB / 0.5898 GB, free: 21.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006432/0.3594, allocations: 350.7 kB / 0.5901 GB, free: 21.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3594, allocations: 162.5 kB / 0.5903 GB, free: 20.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.3596, allocations: 183.9 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3596, allocations: 31.11 kB / 0.5905 GB, free: 20.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.3596, allocations: 116.2 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3597, allocations: 27.64 kB / 0.5906 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.3597, allocations: 43.31 kB / 0.5906 GB, free: 20.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.3598, allocations: 330.8 kB / 0.591 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3599, allocations: 49 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.36, allocations: 104.2 kB / 0.5911 GB, free: 20.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.3603, allocations: 313.7 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3603, allocations: 2.688 kB / 0.5914 GB, free: 19.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004264/0.3607, allocations: 346 kB / 0.5917 GB, free: 19.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.3608, allocations: 122.8 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3608, allocations: 0 / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3608, allocations: 4 kB / 0.5919 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3609, allocations: 15.98 kB / 0.5919 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.361, allocations: 4.594 kB / 0.5919 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3611, allocations: 24.33 kB / 0.5919 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3611, allocations: 8 kB / 0.5919 GB, free: 19.11 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.0001087/0.3612, allocations: 203.1 kB / 0.5921 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3612, allocations: 14.44 kB / 0.5921 GB, free: 18.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.3613, allocations: 17.39 kB / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3613, allocations: 0 / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3613, allocations: 0 / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3613, allocations: 4 kB / 0.5921 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.3619, allocations: 0.5807 MB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3619, allocations: 1.656 kB / 0.5927 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.576e-05/0.3619, allocations: 11.98 kB / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.362, allocations: 0 / 0.5927 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.362, allocations: 11.98 kB / 0.5927 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.362, allocations: 1.094 kB / 0.5927 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.362, allocations: 3.938 kB / 0.5927 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.3624, allocations: 400.5 kB / 0.5931 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.3625, allocations: 92.86 kB / 0.5932 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.3625, allocations: 9.562 kB / 0.5932 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3626, allocations: 15.92 kB / 0.5932 GB, free: 17.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.3627, allocations: 7.938 kB / 0.5932 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.3627, allocations: 11.98 kB / 0.5933 GB, free: 17.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.3628, allocations: 124.2 kB / 0.5934 GB, free: 17.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3628, allocations: 0 / 0.5934 GB, free: 17.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.3631, allocations: 40.47 kB / 0.5934 GB, free: 17.46 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.0001818/0.3633, allocations: 125.3 kB / 0.5935 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.3637, allocations: 367.1 kB / 0.5939 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3637, allocations: 0 / 0.5939 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.3639, allocations: 207.8 kB / 0.5941 GB, free: 16.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3642, allocations: 17.52 kB / 0.5941 GB, free: 16.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.3648, allocations: 322.8 kB / 0.5944 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.3649, allocations: 0.7128 MB / 0.5951 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3649, allocations: 11.44 kB / 0.5951 GB, free: 15.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.365, allocations: 0.6875 kB / 0.5951 GB, free: 15.59 MB / 446.1 MB Notification: Performance of Templates: time 0.003534/0.3685, allocations: 2.155 MB / 0.5972 GB, free: 13.48 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