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.001056/0.001056, allocations: 103.4 kB / 16.27 MB, free: 6.016 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.001128/0.001128, allocations: 189.6 kB / 17.2 MB, free: 5.652 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.52/1.52, allocations: 205.1 MB / 223.1 MB, free: 12.16 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.847/1.847, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001457/0.001457, allocations: 67.03 kB / 0.6721 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003305/0.2758, allocations: 1.767 MB / 0.7857 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.277, allocations: 0.6005 MB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.277, allocations: 7.938 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.2772, allocations: 31.73 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.2776, allocations: 111.4 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.278, allocations: 153 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2783, allocations: 223.4 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.2784, allocations: 41.5 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2785, allocations: 99.73 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2788, allocations: 127.5 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.2788, allocations: 16 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.279, allocations: 111.9 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.2791, allocations: 39.89 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2792, allocations: 87.52 kB / 0.7873 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.2795, allocations: 279.5 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2795, allocations: 4 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2795, allocations: 0 / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2796, allocations: 0 / 0.7876 GB, free: 220 kB / 0.6544 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.5016/0.7812, allocations: 0.5476 MB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.7812, allocations: 9.25 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/0.7814, allocations: 20.05 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.7816, allocations: 248.6 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7817, allocations: 13.19 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.7817, allocations: 10.44 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.7819, allocations: 97.64 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.7819, allocations: 1.125 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.782, allocations: 6.656 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.782, allocations: 2.688 kB / 0.7885 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.7821, allocations: 58.44 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.7829, allocations: 469.9 kB / 0.789 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.783, allocations: 79.89 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.7831, allocations: 34.14 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.7831, allocations: 4.016 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.7834, allocations: 96.98 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.7834, allocations: 0 / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003055/0.7837, allocations: 144.1 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7837, allocations: 58.36 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.7839, allocations: 192.2 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.7839, allocations: 31.83 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.784, allocations: 125.9 kB / 0.7898 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.784, allocations: 34.31 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/0.7841, allocations: 57.84 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/0.7842, allocations: 328.7 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.7842, allocations: 32.09 kB / 0.7902 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7845, allocations: 135.1 kB / 0.7903 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.7846, allocations: 103.5 kB / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7846, allocations: 0 / 0.7904 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002108/0.7848, allocations: 149.3 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7848, allocations: 6.781 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7848, allocations: 6.453 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.7849, allocations: 1.812 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.785, allocations: 19.16 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.785, allocations: 3.688 kB / 0.7906 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.7852, allocations: 25.98 kB / 0.7906 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.7852, allocations: 8.562 kB / 0.7906 GB, free: 46.96 MB / 0.6544 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.0001129/0.7853, allocations: 135.8 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.7854, allocations: 17.22 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.7856, allocations: 136.1 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7856, allocations: 2.625 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7856, allocations: 3.844 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7856, allocations: 2.531 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.7861, allocations: 458.5 kB / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7861, allocations: 0 / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.7861, allocations: 13.56 kB / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7861, allocations: 0 / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.7861, allocations: 10.75 kB / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.7861, allocations: 0.8125 kB / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7861, allocations: 0 / 0.7914 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.7863, allocations: 216 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.7864, allocations: 88.05 kB / 0.7917 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.7864, allocations: 8.359 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.7865, allocations: 11.59 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.7866, allocations: 16.62 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.7866, allocations: 8.203 kB / 0.7917 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001002/0.7867, allocations: 143.2 kB / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7867, allocations: 0 / 0.7918 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003555/0.7871, allocations: 73 kB / 0.7919 GB, free: 46.17 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: 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.0004894/0.7876, allocations: 224 kB / 0.7921 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.7878, allocations: 102.5 kB / 0.7922 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7878, allocations: 0 / 0.7922 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.7879, allocations: 50.86 kB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.7883, allocations: 50.42 kB / 0.7923 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005915/0.7889, allocations: 312.3 kB / 0.7926 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.7891, allocations: 0.717 MB / 0.7933 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.7892, allocations: 28.94 kB / 0.7933 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7892, allocations: 1.781 kB / 0.7933 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.005564/0.7947, allocations: 3.457 MB / 0.7967 GB, free: 44.93 MB / 0.6544 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++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.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