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.001121/0.001121, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001152/0.001152, allocations: 187 kB / 17.34 MB, free: 5.762 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8086/0.8086, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 61.8 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, 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.002652/0.1373, allocations: 1.597 MB / 0.6619 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009145/0.1382, allocations: 0.6233 MB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.1383, allocations: 0 / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1384, allocations: 19.84 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1387, allocations: 43.7 kB / 0.6626 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.139, allocations: 111.8 kB / 0.6627 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1393, allocations: 199.6 kB / 0.6629 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1394, allocations: 29.09 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1396, allocations: 87.69 kB / 0.663 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1397, allocations: 83.72 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1397, allocations: 16 kB / 0.6631 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.1398, allocations: 27.98 kB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.1399, allocations: 31.91 kB / 0.6631 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.14, allocations: 75.64 kB / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1402, allocations: 167.5 kB / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1402, allocations: 0 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1402, allocations: 0 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.1402, allocations: 4 kB / 0.6634 GB, free: 7.16 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.0006438/0.1409, allocations: 0.5486 MB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1409, allocations: 12.03 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.141, allocations: 16.75 kB / 0.6639 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1413, allocations: 240.6 kB / 0.6641 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1413, allocations: 12.38 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.1414, allocations: 12.38 kB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1416, allocations: 117.7 kB / 0.6643 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1417, allocations: 0 / 0.6643 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1417, allocations: 4 kB / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1417, allocations: 0 / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.1419, allocations: 75.88 kB / 0.6644 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1425, allocations: 420.5 kB / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.1427, allocations: 94.56 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1429, allocations: 76.81 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1429, allocations: 0 / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.1432, allocations: 182.7 kB / 0.6651 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1432, allocations: 4 kB / 0.6651 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007107/0.1439, allocations: 352.8 kB / 0.6654 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.144, allocations: 166.2 kB / 0.6656 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1441, allocations: 172 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.1442, allocations: 29.7 kB / 0.6658 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.1442, allocations: 116.3 kB / 0.6659 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1443, allocations: 23.66 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.1444, allocations: 45.7 kB / 0.666 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1445, allocations: 326.8 kB / 0.6663 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1446, allocations: 51.95 kB / 0.6663 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.1448, allocations: 104.1 kB / 0.6664 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1451, allocations: 313 kB / 0.6667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1451, allocations: 4 kB / 0.6667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005103/0.1456, allocations: 348 kB / 0.6671 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.1457, allocations: 119 kB / 0.6672 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1457, allocations: 8 kB / 0.6672 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1458, allocations: 3.984 kB / 0.6672 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1459, allocations: 27.86 kB / 0.6672 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1459, allocations: 0 / 0.6672 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.146, allocations: 12 kB / 0.6672 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.146, allocations: 4 kB / 0.6672 GB, free: 2.754 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.0001455/0.1462, allocations: 202.2 kB / 0.6674 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1462, allocations: 19.81 kB / 0.6674 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.1463, allocations: 17.41 kB / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1463, allocations: 0 / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1463, allocations: 0 / 0.6675 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1463, allocations: 3.938 kB / 0.6675 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.147, allocations: 0.584 MB / 0.668 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.147, allocations: 0 / 0.668 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-05/0.1471, allocations: 19.86 kB / 0.668 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1471, allocations: 0 / 0.668 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1471, allocations: 12 kB / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1471, allocations: 0 / 0.6681 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1471, allocations: 3.938 kB / 0.6681 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005391/0.1476, allocations: 402.6 kB / 0.6684 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.1477, allocations: 92.91 kB / 0.6685 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1477, allocations: 4 kB / 0.6685 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1479, allocations: 4 kB / 0.6685 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.1479, allocations: 19.92 kB / 0.6686 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1479, allocations: 4 kB / 0.6686 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001016/0.148, allocations: 135.2 kB / 0.6687 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1481, allocations: 0 / 0.6687 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003005/0.1484, allocations: 40 kB / 0.6687 GB, free: 1.066 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.0002506/0.1486, allocations: 128.3 kB / 0.6689 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.1491, allocations: 357.4 kB / 0.6692 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1491, allocations: 3.938 kB / 0.6692 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.1493, 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.0002997/0.1497, allocations: 18.38 kB / 0.6694 GB, free: 300 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.1502, allocations: 336.8 kB / 0.6697 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.1505, allocations: 0.7041 MB / 0.6704 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1505, allocations: 19.42 kB / 0.6704 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1505, allocations: 0 / 0.6704 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of Templates: time 0.004292/0.1548, allocations: 2.156 MB / 0.6725 GB, free: 13.05 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