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.001257/0.001257, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001305/0.001305, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7689/0.7689, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 62.38 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002569/0.147, allocations: 1.603 MB / 0.6669 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.1479, allocations: 0.6233 MB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.148, allocations: 0 / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1481, allocations: 15.81 kB / 0.6675 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.1483, allocations: 47.73 kB / 0.6675 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1487, allocations: 107.8 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1489, allocations: 203.6 kB / 0.6678 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.149, allocations: 20.88 kB / 0.6678 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1492, allocations: 91.67 kB / 0.6679 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1493, allocations: 83.72 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.1493, allocations: 20 kB / 0.668 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.1494, allocations: 24 kB / 0.6681 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.1495, allocations: 31.91 kB / 0.6681 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.1496, allocations: 75.59 kB / 0.6682 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1498, allocations: 171.4 kB / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1498, allocations: 0 / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1498, allocations: 0 / 0.6683 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1498, allocations: 0 / 0.6683 GB, free: 2.695 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.0006165/0.1505, allocations: 0.5486 MB / 0.6689 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1505, allocations: 17.11 kB / 0.6689 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.1506, allocations: 16.75 kB / 0.6689 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1509, allocations: 240.1 kB / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1509, allocations: 12.38 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1509, allocations: 12.38 kB / 0.6691 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.1512, allocations: 113.7 kB / 0.6692 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1512, allocations: 3.984 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1512, allocations: 8 kB / 0.6693 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1512, allocations: 0 / 0.6693 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.1514, allocations: 71.89 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.152, allocations: 420.5 kB / 0.6697 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.1522, allocations: 102.5 kB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1523, allocations: 76.81 kB / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1523, allocations: 0 / 0.6699 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1526, allocations: 178.7 kB / 0.6701 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.1526, allocations: 0 / 0.6701 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0006643/0.1533, allocations: 356.8 kB / 0.6704 GB, free: 340 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.327e-05/0.1534, allocations: 166.2 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.1535, allocations: 176 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1536, allocations: 29.98 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.1536, allocations: 112.4 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.1537, allocations: 27.56 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.1537, allocations: 45.64 kB / 0.6709 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.1538, allocations: 326.8 kB / 0.6713 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.154, allocations: 55.95 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1541, allocations: 102.8 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.1544, allocations: 313 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1544, allocations: 0 / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004736/0.1549, allocations: 340.1 kB / 0.672 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.35e-05/0.155, allocations: 118.8 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.155, allocations: 4 kB / 0.6721 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.155, allocations: 4 kB / 0.6721 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1551, allocations: 19.92 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1552, allocations: 4.25 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.1553, allocations: 23.83 kB / 0.6722 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1553, allocations: 8 kB / 0.6722 GB, free: 14.28 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.0001289/0.1554, allocations: 197.1 kB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.1555, allocations: 19.81 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.1555, allocations: 17.39 kB / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1555, allocations: 0 / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1555, allocations: 0 / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1555, allocations: 0 / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000644/0.1562, allocations: 0.5914 MB / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1562, allocations: 0 / 0.673 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.404e-05/0.1562, allocations: 8 kB / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1563, allocations: 0 / 0.673 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1563, allocations: 15.97 kB / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1563, allocations: 0 / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1563, allocations: 7.938 kB / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.1568, allocations: 402.6 kB / 0.6734 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.1568, allocations: 85.02 kB / 0.6735 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.1569, allocations: 4 kB / 0.6735 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.157, allocations: 11.92 kB / 0.6735 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.157, allocations: 15.92 kB / 0.6735 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.1571, allocations: 8 kB / 0.6735 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.1572, allocations: 131.2 kB / 0.6737 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1572, allocations: 0 / 0.6737 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002955/0.1575, allocations: 43.89 kB / 0.6737 GB, free: 12.6 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.0002012/0.1577, allocations: 128.2 kB / 0.6738 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004474/0.1581, allocations: 369.4 kB / 0.6742 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1581, allocations: 0 / 0.6742 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.1584, allocations: 202.8 kB / 0.6744 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1587, allocations: 19.92 kB / 0.6744 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.1592, allocations: 330 kB / 0.6747 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1595, 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 3.668e-05/0.1595, allocations: 19.36 kB / 0.6754 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of SimCode: time 4.5e-07/0.1595, allocations: 0 / 0.6754 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.003668/0.1632, allocations: 2.146 MB / 0.6775 GB, free: 8.574 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