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.0011/0.0011, allocations: 112.2 kB / 16.37 MB, free: 6 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.001023/0.001023, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.802/1.802, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001445/0.001445, allocations: 63.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2803, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003464/0.2838, allocations: 1.777 MB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.285, allocations: 0.5967 MB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.2851, allocations: 7.938 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.2853, allocations: 27.7 kB / 0.7871 GB, free: 0.7656 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.0003821/0.2857, allocations: 119.4 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.2861, allocations: 151.6 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.2864, allocations: 219.5 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.2866, allocations: 37.5 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2867, allocations: 115.6 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2869, allocations: 115.6 kB / 0.7879 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.287, allocations: 16 kB / 0.7879 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5417/0.8287, allocations: 132.4 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.8289, allocations: 44.89 kB / 0.788 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.8291, allocations: 85.88 kB / 0.7881 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.8297, allocations: 277.2 kB / 0.7884 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.8297, allocations: 2.5 kB / 0.7884 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.228e-06/0.8297, allocations: 0 / 0.7884 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.8297, allocations: 5.188 kB / 0.7884 GB, free: 46.63 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009095/0.8307, allocations: 0.556 MB / 0.7889 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.8307, allocations: 12.59 kB / 0.7889 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.8308, allocations: 20.97 kB / 0.789 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.8311, allocations: 238.4 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.8312, allocations: 15.16 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.8312, allocations: 15.91 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.8314, allocations: 96.73 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8314, allocations: 1.172 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.8314, allocations: 3.938 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8315, allocations: 2.625 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.8316, allocations: 56.39 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.8324, allocations: 483.5 kB / 0.7898 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.8326, allocations: 73.34 kB / 0.7899 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.8326, allocations: 34.33 kB / 0.7899 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.8327, allocations: 0 / 0.7899 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.8329, allocations: 94.89 kB / 0.79 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.8329, allocations: 0 / 0.79 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003238/0.8333, allocations: 150 kB / 0.7902 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.8333, allocations: 65.91 kB / 0.7902 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.8335, allocations: 182.7 kB / 0.7904 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.8335, allocations: 31.42 kB / 0.7904 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.8336, allocations: 131.3 kB / 0.7906 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.8336, allocations: 30.81 kB / 0.7906 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.8337, allocations: 57.7 kB / 0.7907 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.8338, allocations: 322.8 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.8339, allocations: 34.67 kB / 0.791 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.8341, allocations: 125.9 kB / 0.7911 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.8342, allocations: 106.5 kB / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8342, allocations: 0 / 0.7912 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002281/0.8345, allocations: 152.9 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8345, allocations: 6.688 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8345, allocations: 0 / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.8345, allocations: 2.031 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.8346, allocations: 21.94 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.8346, allocations: 3.938 kB / 0.7914 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.8348, allocations: 27.33 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.8348, allocations: 5.469 kB / 0.7914 GB, free: 44.7 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.0001102/0.835, allocations: 136.1 kB / 0.7916 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.835, allocations: 22.12 kB / 0.7916 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.8352, allocations: 136.7 kB / 0.7917 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8352, allocations: 6.484 kB / 0.7917 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8352, allocations: 3.938 kB / 0.7917 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8352, allocations: 0.875 kB / 0.7917 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.8357, allocations: 451.9 kB / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8357, allocations: 0 / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.8357, allocations: 8.578 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8358, allocations: 3.188 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.8358, allocations: 3.938 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8358, allocations: 4.75 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8358, allocations: 0.6875 kB / 0.7922 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.836, allocations: 221.2 kB / 0.7924 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.836, allocations: 90.42 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.836, allocations: 3.906 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.597e-05/0.8361, allocations: 7.469 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.8362, allocations: 18.3 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.8363, allocations: 5.25 kB / 0.7925 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.974e-05/0.8364, allocations: 141.3 kB / 0.7926 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.061e-06/0.8364, allocations: 0 / 0.7926 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000339/0.8367, allocations: 78.23 kB / 0.7927 GB, free: 43.89 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.0004866/0.8372, allocations: 225.3 kB / 0.7929 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.8374, allocations: 88.2 kB / 0.793 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8374, allocations: 0 / 0.793 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.081e-05/0.8375, allocations: 52.78 kB / 0.7931 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.8379, allocations: 53.33 kB / 0.7931 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.8385, allocations: 312.3 kB / 0.7934 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.8387, allocations: 0.7217 MB / 0.7941 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.8388, allocations: 21.42 kB / 0.7941 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.8388, allocations: 0 / 0.7941 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.005817/0.8446, allocations: 3.458 MB / 0.7975 GB, free: 42.65 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