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.001123/0.001123, allocations: 110.8 kB / 15.99 MB, free: 6.367 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.001113/0.001113, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.634/1.634, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001878/0.001878, allocations: 63.84 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2722, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003906/0.2762, allocations: 1.926 MB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2776, allocations: 0.6548 MB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.2778, allocations: 7.938 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.2781, allocations: 19.8 kB / 0.7861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.2786, allocations: 103.6 kB / 0.7861 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.2791, allocations: 143.8 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2795, allocations: 235.4 kB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.2797, allocations: 45.66 kB / 0.7866 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.2799, allocations: 103.6 kB / 0.7867 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/0.2926, allocations: 1.042 MB / 0.7877 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2927, allocations: 16 kB / 0.7877 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2929, allocations: 43.98 kB / 0.7877 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.01e-05/0.293, allocations: 43.83 kB / 0.7878 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2931, allocations: 95.45 kB / 0.7879 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.2935, allocations: 147.7 kB / 0.788 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2935, allocations: 0 / 0.788 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2935, allocations: 0 / 0.788 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2935, allocations: 0 / 0.788 GB, free: 9.512 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009013/0.2944, allocations: 0.5604 MB / 0.7885 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2945, allocations: 8.031 kB / 0.7886 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.2946, allocations: 20.75 kB / 0.7886 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.2949, allocations: 252.1 kB / 0.7888 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.295, allocations: 8.375 kB / 0.7888 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.295, allocations: 20.12 kB / 0.7888 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2952, allocations: 116.5 kB / 0.789 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2953, allocations: 3.938 kB / 0.789 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2953, allocations: 0 / 0.789 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2953, allocations: 4 kB / 0.789 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.2954, allocations: 55.97 kB / 0.789 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009193/0.2964, allocations: 496.2 kB / 0.7895 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.2966, allocations: 106.7 kB / 0.7896 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.2967, allocations: 36.89 kB / 0.7896 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.2967, allocations: 3.984 kB / 0.7896 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.2969, allocations: 111.2 kB / 0.7897 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.2969, allocations: 0 / 0.7897 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003694/0.2973, allocations: 177.2 kB / 0.7899 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.2974, allocations: 51.41 kB / 0.79 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.2976, allocations: 211.6 kB / 0.7902 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.2976, allocations: 37.64 kB / 0.7902 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2977, allocations: 128.4 kB / 0.7903 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2978, allocations: 39.55 kB / 0.7904 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.2979, allocations: 61.67 kB / 0.7904 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2981, allocations: 334.8 kB / 0.7907 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2982, allocations: 63.95 kB / 0.7908 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.2985, allocations: 135.6 kB / 0.7909 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.2988, allocations: 205.3 kB / 0.7911 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2988, allocations: 0 / 0.7911 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006033/0.2994, allocations: 331.7 kB / 0.7914 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.2995, allocations: 67.39 kB / 0.7915 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2995, allocations: 3.938 kB / 0.7915 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2995, allocations: 4 kB / 0.7915 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.2996, allocations: 23.92 kB / 0.7915 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2996, allocations: 4 kB / 0.7915 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.2998, allocations: 19.83 kB / 0.7916 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.2999, allocations: 16 kB / 0.7916 GB, free: 5.543 MB / 0.6075 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.0001418/0.3, allocations: 148.2 kB / 0.7917 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.3001, allocations: 19.72 kB / 0.7917 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.3003, allocations: 151.4 kB / 0.7919 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3003, allocations: 0 / 0.7919 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3003, allocations: 0 / 0.7919 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3003, allocations: 4 kB / 0.7919 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.3009, allocations: 494.2 kB / 0.7923 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3009, allocations: 0 / 0.7923 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.301, allocations: 11.98 kB / 0.7924 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.301, allocations: 4 kB / 0.7924 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.301, allocations: 0 / 0.7924 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.301, allocations: 3.984 kB / 0.7924 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.301, allocations: 0 / 0.7924 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3013, allocations: 243.2 kB / 0.7926 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.3014, allocations: 100.8 kB / 0.7927 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.3014, allocations: 4 kB / 0.7927 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3015, allocations: 11.98 kB / 0.7927 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.3016, allocations: 12.02 kB / 0.7927 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.3017, allocations: 12 kB / 0.7927 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001345/0.3018, allocations: 145.5 kB / 0.7929 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3018, allocations: 0 / 0.7929 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003385/0.3021, allocations: 51.89 kB / 0.7929 GB, free: 4.051 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: 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.0003831/0.3025, allocations: 153.8 kB / 0.7931 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004904/0.303, allocations: 273.8 kB / 0.7933 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.303, allocations: 0 / 0.7933 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.611e-05/0.3032, allocations: 51.98 kB / 0.7934 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3036, allocations: 62.95 kB / 0.7934 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.3044, allocations: 393.3 kB / 0.7938 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.3047, allocations: 0.7283 MB / 0.7945 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.3048, allocations: 27.42 kB / 0.7945 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.3048, allocations: 0 / 0.7945 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.006258/0.3111, allocations: 3.273 MB / 0.7977 GB, free: 15.06 MB / 0.6231 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++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.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