Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 101.5 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.00107/0.00107, 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.579/1.579, 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.884/1.884, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001436/0.001436, allocations: 71.91 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.285, allocations: 114.6 MB / 0.784 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003394/0.2885, allocations: 1.755 MB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2897, allocations: 0.6236 MB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.517e-05/0.2898, allocations: 4 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.29, allocations: 31.72 kB / 0.7864 GB, free: 1.512 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.0003833/0.2904, allocations: 119.4 kB / 0.7865 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.2908, allocations: 155.7 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.291, allocations: 239.4 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.2912, allocations: 45.62 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.2913, allocations: 99.73 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2915, allocations: 127.5 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.2916, allocations: 16 kB / 0.7871 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.2918, allocations: 111.9 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.2919, allocations: 51.81 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.292, allocations: 91.5 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003717/0.2924, allocations: 291.4 kB / 0.7877 GB, free: 196 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2924, allocations: 4 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2924, allocations: 4 kB / 0.7877 GB, free: 188 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.2924, allocations: 0 / 0.7877 GB, free: 188 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.5015/0.7939, allocations: 0.5724 MB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.7939, allocations: 9.281 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.7941, allocations: 24 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.7944, allocations: 247.4 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.7944, allocations: 16.34 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.7945, allocations: 15.19 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.7947, allocations: 107.6 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.7947, allocations: 3.938 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.7947, allocations: 10.73 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.7947, allocations: 6.344 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.7949, allocations: 54.27 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008947/0.7958, allocations: 492.1 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.796, allocations: 106.2 kB / 0.7893 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.832e-05/0.7961, allocations: 44.06 kB / 0.7893 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.7961, allocations: 3.562 kB / 0.7893 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.7963, allocations: 101.4 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.7963, allocations: 0 / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003552/0.7967, allocations: 179.3 kB / 0.7896 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.7967, allocations: 57.97 kB / 0.7896 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.7969, allocations: 206.3 kB / 0.7898 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.7969, allocations: 34.89 kB / 0.7899 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.797, allocations: 131 kB / 0.79 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.797, allocations: 40.34 kB / 0.79 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.7971, allocations: 59.34 kB / 0.7901 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.7972, allocations: 330.2 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.7974, allocations: 67.75 kB / 0.7905 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.7976, allocations: 130.4 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.7978, allocations: 210.4 kB / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7978, allocations: 0 / 0.7908 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005357/0.7984, allocations: 333.4 kB / 0.7911 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.7984, allocations: 67.47 kB / 0.7912 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.7985, allocations: 5.875 kB / 0.7912 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.7985, allocations: 2.625 kB / 0.7912 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.7986, allocations: 20.3 kB / 0.7912 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.7986, allocations: 9.312 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.7988, allocations: 24.61 kB / 0.7912 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.7988, allocations: 17.52 kB / 0.7913 GB, free: 46.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001169/0.7989, allocations: 142.2 kB / 0.7914 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.799, allocations: 19.59 kB / 0.7914 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.7992, allocations: 149.4 kB / 0.7916 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7992, allocations: 4.938 kB / 0.7916 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.7992, allocations: 5.125 kB / 0.7916 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7992, allocations: 1.078 kB / 0.7916 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.7998, allocations: 487 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.7998, allocations: 5.219 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.7998, allocations: 10.03 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7998, allocations: 0 / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7998, allocations: 4.797 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.7999, allocations: 2.109 kB / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7999, allocations: 0 / 0.792 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.8001, allocations: 243 kB / 0.7923 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.8001, allocations: 92.48 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.8002, allocations: 7.672 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8003, allocations: 14.5 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.8003, allocations: 13.72 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.8004, allocations: 10.27 kB / 0.7924 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001113/0.8005, allocations: 143.8 kB / 0.7926 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8005, allocations: 0 / 0.7926 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000385/0.8009, allocations: 82.16 kB / 0.7926 GB, free: 46.11 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005018/0.8014, allocations: 222.8 kB / 0.7928 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000403/0.8018, allocations: 262 kB / 0.7931 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8018, allocations: 0 / 0.7931 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.8019, allocations: 60.31 kB / 0.7931 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.8024, allocations: 70.38 kB / 0.7932 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.803, allocations: 340.4 kB / 0.7935 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.8032, allocations: 0.7258 MB / 0.7942 GB, free: 45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.8032, allocations: 24.06 kB / 0.7943 GB, free: 45 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.8032, allocations: 0 / 0.7943 GB, free: 45 MB / 0.6544 GB Notification: Performance of Templates: time 0.00669/0.8099, allocations: 3.715 MB / 0.7979 GB, free: 44.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeriesCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Examples.TimeSeriesFunctions.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.TimeSeriesCalcHelperMain.o] Error 1