Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.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.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.00115/0.00115, allocations: 185.2 kB / 16.9 MB, free: 6.188 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.437/1.437, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.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.68/1.68, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001421/0.001421, allocations: 72.17 kB / 0.6716 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2048, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003048/0.2079, allocations: 1.926 MB / 0.7854 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2089, allocations: 0.6395 MB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.859e-05/0.209, allocations: 4 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.2092, allocations: 15.86 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.2095, allocations: 99.66 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2098, allocations: 151.7 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000228/0.21, allocations: 215.5 kB / 0.7865 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2102, allocations: 37.53 kB / 0.7865 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2103, allocations: 111.6 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009062/0.2193, allocations: 0.7873 MB / 0.7874 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.2194, allocations: 20 kB / 0.7874 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2195, allocations: 35.98 kB / 0.7874 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.2196, allocations: 43.83 kB / 0.7875 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.2197, allocations: 87.52 kB / 0.7876 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.22, allocations: 143.7 kB / 0.7877 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.22, allocations: 4 kB / 0.7877 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.22, allocations: 0 / 0.7877 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.22, allocations: 0 / 0.7877 GB, free: 9.777 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007273/0.2207, allocations: 0.5335 MB / 0.7882 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2208, allocations: 8.031 kB / 0.7882 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.2209, allocations: 24.73 kB / 0.7883 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2211, allocations: 235.6 kB / 0.7885 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.2212, allocations: 16 kB / 0.7885 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2212, allocations: 16 kB / 0.7885 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.2214, allocations: 94.39 kB / 0.7886 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2214, allocations: 0 / 0.7886 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2214, allocations: 4 kB / 0.7886 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2214, allocations: 7.938 kB / 0.7886 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.2216, allocations: 51.97 kB / 0.7887 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/0.2223, allocations: 472.3 kB / 0.7891 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.2225, allocations: 82.48 kB / 0.7892 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.2226, allocations: 33 kB / 0.7892 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.2226, allocations: 11.98 kB / 0.7892 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.2227, allocations: 91.28 kB / 0.7893 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.2227, allocations: 0 / 0.7893 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0003037/0.2231, allocations: 153.5 kB / 0.7895 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.2231, allocations: 55.41 kB / 0.7895 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2233, allocations: 188.2 kB / 0.7897 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2233, allocations: 33.7 kB / 0.7897 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.2234, allocations: 132.3 kB / 0.7899 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.2235, allocations: 31.5 kB / 0.7899 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.2235, allocations: 57.67 kB / 0.7899 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2237, allocations: 326.8 kB / 0.7903 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.2237, allocations: 27.98 kB / 0.7903 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.224, allocations: 132.5 kB / 0.7904 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.2241, allocations: 103.6 kB / 0.7905 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2241, allocations: 8 kB / 0.7905 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002322/0.2243, allocations: 145.3 kB / 0.7907 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2244, allocations: 4 kB / 0.7907 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.2244, allocations: 0 / 0.7907 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2244, allocations: 7.938 kB / 0.7907 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.2245, allocations: 16 kB / 0.7907 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.2245, allocations: 7.938 kB / 0.7907 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.2247, allocations: 19.98 kB / 0.7907 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2247, allocations: 12 kB / 0.7907 GB, free: 6.402 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001213/0.2248, allocations: 138.5 kB / 0.7909 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2249, allocations: 11.81 kB / 0.7909 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.2251, allocations: 135.1 kB / 0.791 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2251, allocations: 3.984 kB / 0.791 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2251, allocations: 0 / 0.791 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.2251, allocations: 0 / 0.791 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.2256, allocations: 470.2 kB / 0.7914 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2256, allocations: 0 / 0.7914 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.2257, allocations: 4 kB / 0.7915 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2257, allocations: 0 / 0.7915 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2257, allocations: 4 kB / 0.7915 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2257, allocations: 4 kB / 0.7915 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2257, allocations: 0 / 0.7915 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.2259, allocations: 222.8 kB / 0.7917 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.226, allocations: 92.86 kB / 0.7918 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.226, allocations: 8 kB / 0.7918 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.2261, allocations: 7.984 kB / 0.7918 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.2262, allocations: 15.98 kB / 0.7918 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.2262, allocations: 7.984 kB / 0.7918 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000114/0.2263, allocations: 140.2 kB / 0.7919 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2263, allocations: 0 / 0.7919 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003184/0.2267, allocations: 47.98 kB / 0.792 GB, free: 5.008 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003027/0.227, allocations: 165.5 kB / 0.7921 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.2272, allocations: 99.84 kB / 0.7922 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2272, allocations: 0 / 0.7922 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.86e-05/0.2273, allocations: 47.92 kB / 0.7923 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2277, allocations: 54.78 kB / 0.7923 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.2283, allocations: 369 kB / 0.7927 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2286, allocations: 0.7202 MB / 0.7934 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.2286, allocations: 23.42 kB / 0.7934 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of SimCode: time 1.573e-06/0.2286, allocations: 0 / 0.7934 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.004753/0.2334, allocations: 3.015 MB / 0.7963 GB, free: 0.5039 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.makefile clang++ -std=c++14 -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.Plotters.Examples.ScatterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.ScatterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:42:21: error: assigning to 'char **' from incompatible type 'void *' plotFileNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:43:24: error: assigning to 'char *' from incompatible type 'void *' plotFileNames[0] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:45:21: error: assigning to 'size_t *' (aka 'unsigned long *') from incompatible type 'void *' nPlotsInFiles = malloc(sizeof(size_t)); ^~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:54:37: error: assigning to 'char *' from incompatible type 'void *' plotFileNames[nPlotFileNames] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:80:24: error: cannot initialize a variable of type 'PlotObjectStructure *' with an rvalue of type 'void *' PlotObjectStructure* plt = malloc(sizeof(PlotObjectStructure)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:99:19: error: assigning to 'char *' from incompatible type 'void *' plt->fileName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:105:23: error: assigning to 'char *' from incompatible type 'void *' plt->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.o] Error 1