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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 249.9 MB, free: 3.203 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.867/0.867, allocations: 134 MB / 439 MB, free: 13.7 MB / 350.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.88 kB / 0.6087 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 84.68 MB / 0.6914 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002467/0.3745, allocations: 1.614 MB / 0.693 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.3753, allocations: 0.6175 MB / 0.6936 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.3753, allocations: 2.938 kB / 0.6936 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.3755, allocations: 25.31 kB / 0.6936 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3757, allocations: 42.67 kB / 0.6937 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.376, allocations: 119.3 kB / 0.6938 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3762, allocations: 184.9 kB / 0.694 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.3763, allocations: 17.33 kB / 0.694 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3764, allocations: 81.44 kB / 0.6941 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3766, allocations: 83.94 kB / 0.6941 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.3766, allocations: 14.34 kB / 0.6941 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.149e-05/0.3767, allocations: 32.3 kB / 0.6942 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.3767, allocations: 40.09 kB / 0.6942 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.3768, allocations: 72.38 kB / 0.6943 GB, free: 0 / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3771, allocations: 166.2 kB / 0.6944 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3771, allocations: 0 / 0.6944 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3771, allocations: 1.188 kB / 0.6944 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.3771, allocations: 0 / 0.6944 GB, free: 15.88 MB / 0.5137 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.0007798/0.3779, allocations: 0.5612 MB / 0.695 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3779, allocations: 10.25 kB / 0.695 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.378, allocations: 19.38 kB / 0.695 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.3784, allocations: 237 kB / 0.6952 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3784, allocations: 10.06 kB / 0.6953 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.3784, allocations: 16.25 kB / 0.6953 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3787, allocations: 119.5 kB / 0.6954 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3788, allocations: 0 / 0.6954 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3788, allocations: 2.406 kB / 0.6954 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3788, allocations: 1.219 kB / 0.6954 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.379, allocations: 74.34 kB / 0.6955 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.3797, allocations: 420.6 kB / 0.6959 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3799, allocations: 77.91 kB / 0.6959 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.38, allocations: 67.19 kB / 0.696 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.38, allocations: 5.469 kB / 0.696 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002737/0.3803, allocations: 182.7 kB / 0.6962 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.3803, allocations: 0 / 0.6962 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007417/0.3811, allocations: 362.1 kB / 0.6965 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3812, allocations: 163.1 kB / 0.6967 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3814, allocations: 179.7 kB / 0.6968 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.3814, allocations: 33.02 kB / 0.6969 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.3815, allocations: 107.9 kB / 0.697 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.3815, allocations: 27.88 kB / 0.697 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.3816, allocations: 39.61 kB / 0.697 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3818, allocations: 326.2 kB / 0.6974 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.3819, allocations: 49.12 kB / 0.6974 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.3821, allocations: 104.3 kB / 0.6975 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.3825, allocations: 313.4 kB / 0.6978 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3825, allocations: 1.406 kB / 0.6978 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005669/0.383, allocations: 351.3 kB / 0.6981 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/0.3831, allocations: 120.4 kB / 0.6983 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3831, allocations: 2.75 kB / 0.6983 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3832, allocations: 2.75 kB / 0.6983 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3833, allocations: 16.64 kB / 0.6983 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/0.3833, allocations: 6.688 kB / 0.6983 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3834, allocations: 16.2 kB / 0.6983 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.3834, allocations: 16.42 kB / 0.6983 GB, free: 12.4 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.0001785/0.3836, allocations: 201.4 kB / 0.6985 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.3836, allocations: 21.53 kB / 0.6985 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.3837, allocations: 21.5 kB / 0.6985 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3837, allocations: 0 / 0.6985 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3837, allocations: 1.375 kB / 0.6985 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3837, allocations: 4 kB / 0.6986 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.3845, allocations: 0.5889 MB / 0.6991 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3845, allocations: 1.531 kB / 0.6991 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.3846, allocations: 12.7 kB / 0.6991 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3846, allocations: 0 / 0.6991 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.3846, allocations: 16.55 kB / 0.6992 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3846, allocations: 5.062 kB / 0.6992 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3846, allocations: 3.938 kB / 0.6992 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.3852, allocations: 402.8 kB / 0.6995 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.3852, allocations: 88.98 kB / 0.6996 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.3853, allocations: 4.062 kB / 0.6996 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3854, allocations: 13.92 kB / 0.6997 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.3854, allocations: 7.406 kB / 0.6997 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3855, allocations: 10.52 kB / 0.6997 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001136/0.3856, allocations: 137.7 kB / 0.6998 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 0 / 0.6998 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003029/0.3859, allocations: 38.75 kB / 0.6998 GB, free: 11.11 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.000239/0.3861, allocations: 127.9 kB / 0.7 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.3867, allocations: 355.2 kB / 0.7003 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3867, allocations: 5.5 kB / 0.7003 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.387, allocations: 179.5 kB / 0.7005 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3873, allocations: 23.2 kB / 0.7005 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006613/0.388, allocations: 318 kB / 0.7008 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3883, allocations: 0.7118 MB / 0.7015 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.3883, allocations: 13.69 kB / 0.7015 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.3883, allocations: 0 / 0.7015 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.004519/0.3929, allocations: 2.179 MB / 0.7036 GB, free: 8.43 MB / 0.5137 GB [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] 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