Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001048/0.001048, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001143/0.001143, allocations: 185.5 kB / 16.9 MB, free: 6.184 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 422.9 MB, free: 6.801 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.91 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3651, allocations: 80.19 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002909/0.3681, allocations: 1.655 MB / 0.5818 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008809/0.369, allocations: 0.6124 MB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.246e-05/0.3691, allocations: 2.188 kB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.3693, allocations: 21.61 kB / 0.5825 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.3695, allocations: 32.52 kB / 0.5825 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.3699, allocations: 111.3 kB / 0.5826 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.3702, allocations: 195.8 kB / 0.5828 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3703, allocations: 21.72 kB / 0.5828 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3704, allocations: 91.72 kB / 0.5829 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.3706, allocations: 84.78 kB / 0.583 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.3706, allocations: 15.31 kB / 0.583 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.3707, allocations: 33.45 kB / 0.583 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.3708, allocations: 22.86 kB / 0.583 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.3709, allocations: 72.52 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.3711, allocations: 123.1 kB / 0.5832 GB, free: 25.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3711, allocations: 3.938 kB / 0.5832 GB, free: 25.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3711, allocations: 0.7812 kB / 0.5832 GB, free: 25.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3711, allocations: 0 / 0.5832 GB, free: 25.16 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.0005999/0.3717, allocations: 0.5519 MB / 0.5838 GB, free: 24.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3718, allocations: 9.812 kB / 0.5838 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.3718, allocations: 20.94 kB / 0.5838 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.3721, allocations: 234 kB / 0.584 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3721, allocations: 9.031 kB / 0.584 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.3721, allocations: 19.34 kB / 0.584 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3724, allocations: 114.9 kB / 0.5842 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3724, allocations: 2.438 kB / 0.5842 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3724, allocations: 2.812 kB / 0.5842 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3725, allocations: 1.219 kB / 0.5842 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.3726, allocations: 71.34 kB / 0.5842 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3732, allocations: 419.1 kB / 0.5846 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3734, allocations: 90.62 kB / 0.5847 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3735, allocations: 78.02 kB / 0.5848 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3736, allocations: 4.906 kB / 0.5848 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3738, allocations: 180.6 kB / 0.585 GB, free: 23.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.3738, allocations: 0 / 0.585 GB, free: 23.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007129/0.3745, allocations: 351.8 kB / 0.5853 GB, free: 23.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3746, allocations: 173.8 kB / 0.5855 GB, free: 23.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3748, allocations: 172.4 kB / 0.5856 GB, free: 23.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3748, allocations: 33.83 kB / 0.5857 GB, free: 23.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.3748, allocations: 108.1 kB / 0.5858 GB, free: 22.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3749, allocations: 25.84 kB / 0.5858 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.375, allocations: 39.39 kB / 0.5858 GB, free: 22.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.375, allocations: 335.3 kB / 0.5862 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3752, allocations: 45.09 kB / 0.5862 GB, free: 22.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3753, allocations: 103 kB / 0.5863 GB, free: 22.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3756, allocations: 314.8 kB / 0.5866 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3756, allocations: 0 / 0.5866 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004818/0.3761, allocations: 348.7 kB / 0.5869 GB, free: 21.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.3761, allocations: 123.9 kB / 0.587 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3762, allocations: 1.469 kB / 0.587 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3762, allocations: 4.5 kB / 0.587 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3763, allocations: 17.86 kB / 0.5871 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3763, allocations: 2.594 kB / 0.5871 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3764, allocations: 20 kB / 0.5871 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3765, allocations: 8.969 kB / 0.5871 GB, free: 21.72 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.0001294/0.3766, allocations: 202.4 kB / 0.5873 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3766, allocations: 16.69 kB / 0.5873 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.3767, allocations: 21.62 kB / 0.5873 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3767, allocations: 0 / 0.5873 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3767, allocations: 4.094 kB / 0.5873 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3767, allocations: 3.984 kB / 0.5873 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.3773, allocations: 0.5776 MB / 0.5879 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3773, allocations: 5.531 kB / 0.5879 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.3774, allocations: 12.05 kB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3774, allocations: 2.094 kB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.3774, allocations: 6.969 kB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3775, allocations: 1.25 kB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3775, allocations: 4.219 kB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.378, allocations: 408.2 kB / 0.5883 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.378, allocations: 84.61 kB / 0.5884 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.378, allocations: 8.844 kB / 0.5884 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3782, allocations: 6.688 kB / 0.5884 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3782, allocations: 12.55 kB / 0.5884 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3782, allocations: 9.969 kB / 0.5884 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.3783, allocations: 132.2 kB / 0.5886 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3783, allocations: 1.219 kB / 0.5886 GB, free: 20.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3786, allocations: 39.44 kB / 0.5886 GB, free: 20.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.0002236/0.3789, allocations: 122.3 kB / 0.5887 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004227/0.3793, allocations: 367 kB / 0.5891 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3793, allocations: 0 / 0.5891 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.3795, allocations: 211 kB / 0.5893 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.3798, allocations: 24.61 kB / 0.5893 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.3804, allocations: 340.7 kB / 0.5896 GB, free: 19.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3805, allocations: 0.7095 MB / 0.5903 GB, free: 18.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.3806, allocations: 18.78 kB / 0.5903 GB, free: 18.87 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3806, allocations: 3.938 kB / 0.5903 GB, free: 18.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003595/0.3842, allocations: 2.164 MB / 0.5924 GB, free: 17.28 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterInit.c:12: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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/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/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/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/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_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1