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.001071/0.001071, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001098/0.001098, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8059/0.8059, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 61.53 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 80.92 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003086/0.1493, allocations: 1.604 MB / 0.6669 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1503, allocations: 0.6117 MB / 0.6675 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1505, allocations: 7.938 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1507, allocations: 19.84 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.1509, allocations: 43.77 kB / 0.6675 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.1515, allocations: 115.7 kB / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.1518, allocations: 195.6 kB / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1519, allocations: 28.86 kB / 0.6678 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1521, allocations: 83.75 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1523, allocations: 87.72 kB / 0.668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.1523, allocations: 12 kB / 0.668 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.1524, allocations: 27.98 kB / 0.668 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.1525, allocations: 31.84 kB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.1526, allocations: 79.64 kB / 0.6682 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1529, allocations: 171.4 kB / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1529, allocations: 4 kB / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1529, allocations: 0 / 0.6683 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.153, allocations: 0 / 0.6683 GB, free: 2.676 MB / 0.4981 GB 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.000793/0.1538, allocations: 0.5525 MB / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1538, allocations: 9.109 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.011e-05/0.1539, allocations: 20.75 kB / 0.6689 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.1543, allocations: 232.2 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1543, allocations: 8.375 kB / 0.6691 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.1543, allocations: 20.31 kB / 0.6691 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1547, allocations: 113.7 kB / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1547, allocations: 0 / 0.6692 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1547, allocations: 4 kB / 0.6693 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1547, allocations: 7.984 kB / 0.6693 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.1549, allocations: 67.94 kB / 0.6693 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.1556, allocations: 424.4 kB / 0.6697 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1559, allocations: 86.53 kB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.156, allocations: 76.81 kB / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1561, allocations: 0 / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1563, allocations: 182.8 kB / 0.6701 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.1563, allocations: 0 / 0.6701 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007437/0.1571, allocations: 356.8 kB / 0.6704 GB, free: 336 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/0.1572, allocations: 166.2 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1574, allocations: 180 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1574, allocations: 29.7 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.1575, allocations: 108.6 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1575, allocations: 31.56 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.1576, allocations: 37.7 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1577, allocations: 338.7 kB / 0.6712 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1579, allocations: 47.97 kB / 0.6713 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1581, allocations: 102.8 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.1584, allocations: 312.9 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1584, allocations: 0 / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005507/0.159, allocations: 352.3 kB / 0.672 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.1591, allocations: 118.8 kB / 0.6721 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1591, allocations: 0 / 0.6721 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1591, allocations: 4 kB / 0.6721 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1593, allocations: 19.92 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1593, allocations: 7.938 kB / 0.6722 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1594, allocations: 19.91 kB / 0.6722 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.1594, allocations: 8 kB / 0.6722 GB, free: 14.27 MB / 0.5137 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.0001663/0.1596, allocations: 208.5 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1596, allocations: 15.81 kB / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.1597, allocations: 13.41 kB / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1597, allocations: 0 / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1597, allocations: 0 / 0.6724 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1597, allocations: 3.984 kB / 0.6724 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.1604, allocations: 0.5836 MB / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1604, allocations: 0 / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1605, allocations: 15.98 kB / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1605, allocations: 0 / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1606, allocations: 12 kB / 0.673 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1606, allocations: 0 / 0.673 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1606, allocations: 7.875 kB / 0.673 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.1611, allocations: 398.6 kB / 0.6734 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1612, allocations: 85.02 kB / 0.6735 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.1612, allocations: 8 kB / 0.6735 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1613, allocations: 4 kB / 0.6735 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1614, allocations: 19.86 kB / 0.6735 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.1614, allocations: 11.98 kB / 0.6735 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001178/0.1616, allocations: 131.2 kB / 0.6737 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1616, allocations: 3.938 kB / 0.6737 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003012/0.1619, allocations: 39.91 kB / 0.6737 GB, free: 12.59 MB / 0.5137 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.000244/0.1621, allocations: 128.6 kB / 0.6738 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005064/0.1626, allocations: 353.5 kB / 0.6742 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1626, allocations: 3.938 kB / 0.6742 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.1629, allocations: 219.2 kB / 0.6744 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1632, allocations: 16 kB / 0.6744 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.1639, allocations: 313.6 kB / 0.6747 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.1641, allocations: 0.708 MB / 0.6754 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1642, allocations: 15.44 kB / 0.6754 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1642, allocations: 7.938 kB / 0.6754 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.004522/0.1687, allocations: 2.176 MB / 0.6775 GB, free: 8.539 MB / 0.5137 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++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