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.001373/0.001373, allocations: 103.4 kB / 16.27 MB, free: 5.98 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.001194/0.001194, allocations: 188.9 kB / 17.2 MB, free: 5.605 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.383/1.383, 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/package.mo): time 0.8615/0.8615, allocations: 132.2 MB / 423.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.91 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.37, allocations: 80.18 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.00262/0.3727, allocations: 1.603 MB / 0.5823 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.3736, allocations: 0.6209 MB / 0.5829 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.3737, allocations: 1.75 kB / 0.5829 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3738, allocations: 18.48 kB / 0.5829 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.374, allocations: 46.94 kB / 0.583 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3744, allocations: 112.9 kB / 0.5831 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3747, allocations: 191.1 kB / 0.5833 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3748, allocations: 31.97 kB / 0.5833 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3749, allocations: 86.34 kB / 0.5834 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.3751, allocations: 83.56 kB / 0.5835 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.3751, allocations: 13.56 kB / 0.5835 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.3752, allocations: 21.75 kB / 0.5835 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.3753, allocations: 36.66 kB / 0.5835 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.3754, allocations: 72.47 kB / 0.5836 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.3756, allocations: 167.6 kB / 0.5838 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3756, allocations: 1.25 kB / 0.5838 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.3756, allocations: 0 / 0.5838 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3756, allocations: 0 / 0.5838 GB, free: 24.98 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.0006015/0.3762, allocations: 0.5593 MB / 0.5843 GB, free: 24.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3763, allocations: 9.344 kB / 0.5843 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.3764, allocations: 20.53 kB / 0.5843 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.3766, allocations: 235.9 kB / 0.5846 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3766, allocations: 17.09 kB / 0.5846 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3767, allocations: 11 kB / 0.5846 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.377, allocations: 112.5 kB / 0.5847 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.377, allocations: 0 / 0.5847 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.377, allocations: 6.391 kB / 0.5847 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.377, allocations: 1.219 kB / 0.5847 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.3772, allocations: 67.2 kB / 0.5848 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.3778, allocations: 420.8 kB / 0.5852 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.378, allocations: 88.06 kB / 0.5852 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3782, allocations: 72.64 kB / 0.5853 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3782, allocations: 14.72 kB / 0.5853 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.3785, allocations: 180 kB / 0.5855 GB, free: 23.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3785, allocations: 0 / 0.5855 GB, free: 23.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006894/0.3792, allocations: 346.1 kB / 0.5858 GB, free: 23.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3792, allocations: 164.3 kB / 0.586 GB, free: 23.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3794, allocations: 176.6 kB / 0.5862 GB, free: 22.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3794, allocations: 33.14 kB / 0.5862 GB, free: 22.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.3795, allocations: 107.7 kB / 0.5863 GB, free: 22.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3795, allocations: 36 kB / 0.5863 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.3796, allocations: 44.27 kB / 0.5864 GB, free: 22.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.3796, allocations: 326.6 kB / 0.5867 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.3798, allocations: 51.28 kB / 0.5867 GB, free: 22.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3799, allocations: 106.4 kB / 0.5868 GB, free: 22.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3802, allocations: 315 kB / 0.5871 GB, free: 21.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3802, allocations: 0 / 0.5871 GB, free: 21.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004829/0.3807, allocations: 347.4 kB / 0.5875 GB, free: 21.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/0.3808, allocations: 120.3 kB / 0.5876 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3808, allocations: 4.812 kB / 0.5876 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3808, allocations: 2.406 kB / 0.5876 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.381, allocations: 16.52 kB / 0.5876 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.381, allocations: 6.25 kB / 0.5876 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3811, allocations: 20.73 kB / 0.5876 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.3811, allocations: 16.77 kB / 0.5876 GB, free: 21.52 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.0001232/0.3812, allocations: 195.8 kB / 0.5878 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3813, allocations: 18.53 kB / 0.5878 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.3813, allocations: 20.8 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3813, allocations: 1.344 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3814, allocations: 2.031 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3814, allocations: 1.219 kB / 0.5879 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.382, allocations: 0.5788 MB / 0.5884 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.382, allocations: 0 / 0.5884 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.3821, allocations: 12.42 kB / 0.5884 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3821, allocations: 2.188 kB / 0.5884 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3821, allocations: 13.73 kB / 0.5885 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3821, allocations: 0 / 0.5885 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3821, allocations: 4.594 kB / 0.5885 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.3826, allocations: 401.6 kB / 0.5888 GB, free: 20.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.3827, allocations: 85.39 kB / 0.5889 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3827, allocations: 3.344 kB / 0.5889 GB, free: 20.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.3828, allocations: 19.83 kB / 0.5889 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.3829, allocations: 11.59 kB / 0.589 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3829, allocations: 15.08 kB / 0.589 GB, free: 20.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.543e-05/0.383, allocations: 135.5 kB / 0.5891 GB, free: 20.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.383, allocations: 0 / 0.5891 GB, free: 20.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.3833, allocations: 39.09 kB / 0.5891 GB, free: 20.27 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.000221/0.3836, allocations: 121.3 kB / 0.5893 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004509/0.384, allocations: 372 kB / 0.5896 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.384, allocations: 3.438 kB / 0.5896 GB, free: 19.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3843, allocations: 198.7 kB / 0.5898 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3846, allocations: 25.98 kB / 0.5898 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.3852, allocations: 308.5 kB / 0.5901 GB, free: 19.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.3853, allocations: 0.7141 MB / 0.5908 GB, free: 18.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3854, allocations: 17.31 kB / 0.5908 GB, free: 18.71 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3854, allocations: 1.844 kB / 0.5908 GB, free: 18.71 MB / 446.1 MB Notification: Performance of Templates: time 0.003767/0.3892, allocations: 2.153 MB / 0.5929 GB, free: 17.13 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++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/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