Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009624/0.0009623, allocations: 179 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 0.5783 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007065/0.0007069, allocations: 82.98 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003573, allocations: 11.5 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2563, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002244/0.2587, allocations: 1.309 MB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009765/0.2597, allocations: 0.6243 MB / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.856e-05/0.2598, allocations: 0 / 0.9027 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.26, allocations: 19.92 kB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.2603, allocations: 43.75 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.2606, allocations: 91.91 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.2608, allocations: 151.6 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2609, allocations: 21.11 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2611, allocations: 79.69 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2612, allocations: 75.78 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.2612, allocations: 4 kB / 0.9032 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.108e-05/0.2613, allocations: 20 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.2614, allocations: 31.83 kB / 0.9032 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.2614, allocations: 53.58 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2616, allocations: 103.8 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.2616, allocations: 3.984 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.015e-06/0.2616, allocations: 0 / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2616, allocations: 4 kB / 0.9034 GB, free: 61.25 MB / 0.6042 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.0005867/0.2622, allocations: 0.5214 MB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2623, allocations: 8.031 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.2623, allocations: 19.84 kB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.2626, allocations: 242.6 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2626, allocations: 12 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.2626, allocations: 8 kB / 0.9042 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.2629, allocations: 125.5 kB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2629, allocations: 0 / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.263, allocations: 0 / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.263, allocations: 4 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2632, allocations: 75.95 kB / 0.9044 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.2637, allocations: 420.6 kB / 0.9048 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2639, allocations: 94.53 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.264, allocations: 80.81 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.2641, allocations: 0 / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.2643, allocations: 194.8 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2644, allocations: 0 / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0006211/0.265, allocations: 356.8 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.2651, allocations: 166.2 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.2652, allocations: 179.1 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2652, allocations: 25.98 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.2653, allocations: 112.4 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.2653, allocations: 27.62 kB / 0.906 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.2653, allocations: 11.94 kB / 0.906 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.865e-05/0.2654, allocations: 322.8 kB / 0.9063 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2655, allocations: 59.95 kB / 0.9063 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2657, allocations: 106.8 kB / 0.9064 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2658, allocations: 182.7 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2658, allocations: 0 / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004148/0.2663, allocations: 352.1 kB / 0.9069 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.2663, allocations: 122.7 kB / 0.9071 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2663, allocations: 4 kB / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2664, allocations: 0 / 0.9071 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.2665, allocations: 27.88 kB / 0.9071 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2665, allocations: 4.25 kB / 0.9071 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.2666, allocations: 23.84 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2666, allocations: 8 kB / 0.9071 GB, free: 57.03 MB / 0.6042 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.2668, allocations: 203.2 kB / 0.9073 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2668, allocations: 11.91 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.2668, allocations: 21.39 kB / 0.9073 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.2669, allocations: 4 kB / 0.9074 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2669, allocations: 3.953 kB / 0.9074 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2669, allocations: 4 kB / 0.9074 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.2674, allocations: 0.5876 MB / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2675, allocations: 0 / 0.9079 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.2675, allocations: 15.98 kB / 0.9079 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2675, allocations: 4 kB / 0.908 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2676, allocations: 4 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2676, allocations: 7.953 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2676, allocations: 4 kB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.268, allocations: 410.7 kB / 0.9084 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.2681, allocations: 92.84 kB / 0.9084 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.2681, allocations: 12 kB / 0.9085 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2682, allocations: 11.94 kB / 0.9085 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.2683, allocations: 7.938 kB / 0.9085 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.2683, allocations: 15.98 kB / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.2684, allocations: 123.2 kB / 0.9086 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2684, allocations: 0 / 0.9086 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002582/0.2686, allocations: 36 kB / 0.9086 GB, free: 55.34 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.2689, allocations: 129 kB / 0.9088 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.2693, allocations: 373.5 kB / 0.9091 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2693, allocations: 0 / 0.9091 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2695, allocations: 206.8 kB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2698, allocations: 20.17 kB / 0.9093 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.2703, allocations: 343.9 kB / 0.9097 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2705, allocations: 0.7121 MB / 0.9104 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2705, allocations: 11.44 kB / 0.9104 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2705, allocations: 0 / 0.9104 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.003466/0.274, allocations: 2.143 MB / 0.9125 GB, free: 51.3 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile clang++ -Winvalid-pch -O0 -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 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterFree.c:23:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterInit.c:11: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:24:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:25:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:37: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 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:38: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 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:43: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 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:44: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 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:56: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 7.0.3-maint.7.0.x/Resources/C-Sources/fileWriterStructure.c:61:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1