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.001182/0.001182, allocations: 105.8 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.001236/0.001237, allocations: 191 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 66.02 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.143, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.003068/0.1461, allocations: 1.593 MB / 0.6619 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1472, allocations: 0.6194 MB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.889e-05/0.1473, allocations: 4 kB / 0.6625 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1475, allocations: 19.8 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1478, allocations: 50.62 kB / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1482, allocations: 103.8 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.1485, allocations: 195.6 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1487, allocations: 37.08 kB / 0.6629 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1488, allocations: 87.69 kB / 0.663 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.149, allocations: 83.72 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.149, allocations: 12 kB / 0.6631 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.1491, allocations: 27.98 kB / 0.6631 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.1492, allocations: 31.91 kB / 0.6631 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1493, allocations: 75.66 kB / 0.6632 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1496, allocations: 175.4 kB / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1496, allocations: 0 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1496, allocations: 0 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1496, allocations: 0 / 0.6633 GB, free: 7.164 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.0007401/0.1504, allocations: 0.5486 MB / 0.6639 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1504, allocations: 8.031 kB / 0.6639 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1505, allocations: 24.75 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1509, allocations: 244.6 kB / 0.6641 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.1509, allocations: 8.375 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1509, allocations: 12.38 kB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1513, allocations: 117.7 kB / 0.6643 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1513, allocations: 4 kB / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1513, allocations: 0 / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1513, allocations: 4 kB / 0.6643 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.1515, allocations: 75.88 kB / 0.6644 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.1522, allocations: 416.5 kB / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1524, allocations: 94.56 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1526, allocations: 76.81 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.1526, allocations: 4 kB / 0.6649 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000251/0.1529, allocations: 178.7 kB / 0.6651 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.1529, allocations: 0 / 0.6651 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007206/0.1536, allocations: 356.8 kB / 0.6654 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.1537, allocations: 162.2 kB / 0.6656 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1539, allocations: 176 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.1539, allocations: 33.7 kB / 0.6658 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.154, allocations: 108.3 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.154, allocations: 31.64 kB / 0.6659 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.1541, allocations: 37.7 kB / 0.666 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1543, allocations: 326.8 kB / 0.6663 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1545, allocations: 47.97 kB / 0.6663 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.1547, allocations: 110.8 kB / 0.6664 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.1551, allocations: 309 kB / 0.6667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.1551, allocations: 0 / 0.6667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000517/0.1556, allocations: 348.1 kB / 0.6671 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/0.1557, allocations: 122.8 kB / 0.6672 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1558, allocations: 0 / 0.6672 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1558, allocations: 4 kB / 0.6672 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1559, allocations: 23.86 kB / 0.6672 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1559, allocations: 4.281 kB / 0.6672 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.156, allocations: 8 kB / 0.6672 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1561, allocations: 16.2 kB / 0.6672 GB, free: 2.758 MB / 0.4981 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.0001574/0.1562, allocations: 202.2 kB / 0.6674 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1563, allocations: 23.73 kB / 0.6674 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1563, allocations: 13.41 kB / 0.6674 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1563, allocations: 0 / 0.6674 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1563, allocations: 3.984 kB / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1563, allocations: 0 / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.1571, allocations: 0.5836 MB / 0.668 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1571, allocations: 4 kB / 0.668 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.1571, allocations: 15.98 kB / 0.668 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1572, allocations: 0 / 0.668 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1572, allocations: 11.98 kB / 0.6681 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1572, allocations: 7.984 kB / 0.6681 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1572, allocations: 3.938 kB / 0.6681 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.1577, allocations: 402.6 kB / 0.6684 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1578, allocations: 88.92 kB / 0.6685 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1578, allocations: 4 kB / 0.6685 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.158, allocations: 8 kB / 0.6685 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.158, allocations: 11.92 kB / 0.6686 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.1581, allocations: 11.98 kB / 0.6686 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.736e-05/0.1582, allocations: 131.2 kB / 0.6687 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1582, allocations: 0 / 0.6687 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002923/0.1585, allocations: 36 kB / 0.6687 GB, free: 1.07 MB / 0.4981 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.000222/0.1587, allocations: 123.6 kB / 0.6688 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.1592, allocations: 361.8 kB / 0.6692 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1592, allocations: 8.062 kB / 0.6692 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1594, allocations: 206.8 kB / 0.6694 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1598, allocations: 19.98 kB / 0.6694 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.1604, allocations: 324.6 kB / 0.6697 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1607, allocations: 0.7119 MB / 0.6704 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.1608, allocations: 11.44 kB / 0.6704 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1608, allocations: 0 / 0.6704 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.004472/0.1652, allocations: 2.174 MB / 0.6726 GB, free: 13.04 MB / 0.5137 GB 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