Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001224/0.001225, allocations: 100.7 kB / 16.27 MB, free: 6.418 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.001171/0.001171, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 71.89 kB / 0.6722 GB, free: 6.57 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2878, allocations: 114.6 MB / 0.784 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.004241/0.2921, allocations: 1.604 MB / 0.7856 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.2934, allocations: 0.6671 MB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.2936, allocations: 0 / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.2938, allocations: 19.81 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.2941, allocations: 39.75 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.2946, allocations: 111.8 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.295, allocations: 199.6 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2952, allocations: 29.11 kB / 0.7866 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.2954, allocations: 87.75 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.2956, allocations: 87.72 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.2957, allocations: 12 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.2958, allocations: 20 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.2959, allocations: 31.86 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.296, allocations: 71.7 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.2964, allocations: 171.7 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2964, allocations: 0 / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2964, allocations: 0 / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.2964, allocations: 0 / 0.7871 GB, free: 0.7344 MB / 0.6544 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.0009567/0.2974, allocations: 0.5563 MB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2974, allocations: 12.03 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.669e-05/0.2975, allocations: 16.75 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3483/0.6458, allocations: 226.8 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.6459, allocations: 7.875 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.6459, allocations: 17.16 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.6462, allocations: 110.3 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6463, allocations: 2.016 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.6463, allocations: 6.781 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.6463, allocations: 10.56 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.6465, allocations: 66.33 kB / 0.7881 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.6471, allocations: 418.5 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.6473, allocations: 90.66 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.6474, allocations: 75.95 kB / 0.7886 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.6474, allocations: 7.156 kB / 0.7887 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.6477, allocations: 179.8 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.6477, allocations: 0 / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006338/0.6484, allocations: 353.5 kB / 0.7892 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6484, allocations: 166 kB / 0.7893 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.6486, allocations: 177.5 kB / 0.7895 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6486, allocations: 34.7 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.6486, allocations: 106.2 kB / 0.7896 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.6487, allocations: 28.2 kB / 0.7896 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.695e-05/0.6488, allocations: 45.09 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.6488, allocations: 324 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6489, allocations: 54.81 kB / 0.7901 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.6491, allocations: 99.16 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.6493, allocations: 315.3 kB / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6493, allocations: 0 / 0.7904 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004307/0.6498, allocations: 346.5 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.6498, allocations: 117.9 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6498, allocations: 2.844 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6499, allocations: 2.5 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.65, allocations: 24.12 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.65, allocations: 6.203 kB / 0.7909 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.346e-05/0.6501, allocations: 19.94 kB / 0.7909 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.6501, allocations: 9.797 kB / 0.791 GB, free: 46.85 MB / 0.6544 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.0001067/0.6502, allocations: 197.6 kB / 0.7911 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.6503, allocations: 23.56 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.6503, allocations: 19.28 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6503, allocations: 0 / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6503, allocations: 5.156 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6503, allocations: 0 / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.6509, allocations: 0.5826 MB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6509, allocations: 0 / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.651, allocations: 13.73 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.651, allocations: 0 / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.651, allocations: 12.23 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.651, allocations: 2.438 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.651, allocations: 1 kB / 0.7918 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.6515, allocations: 407.3 kB / 0.7922 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.6515, allocations: 87.36 kB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.6516, allocations: 10.44 kB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6517, allocations: 5.25 kB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.6517, allocations: 10.44 kB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6517, allocations: 10.69 kB / 0.7923 GB, free: 46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.6518, allocations: 130 kB / 0.7924 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6518, allocations: 3.094 kB / 0.7924 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003056/0.6521, allocations: 40.25 kB / 0.7925 GB, free: 45.92 MB / 0.6544 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.0002169/0.6524, allocations: 132.9 kB / 0.7926 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.6528, allocations: 369.8 kB / 0.7929 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6528, allocations: 0 / 0.7929 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.653, allocations: 207.4 kB / 0.7931 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.6533, allocations: 23.98 kB / 0.7932 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005104/0.6538, allocations: 319.2 kB / 0.7935 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.654, allocations: 0.7188 MB / 0.7942 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.654, allocations: 17.36 kB / 0.7942 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.654, allocations: 0 / 0.7942 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of Templates: time 0.003387/0.6574, allocations: 2.153 MB / 0.7963 GB, free: 44.41 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/fileWriterInit.c:12: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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: *** [: OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1