Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.361/1.361, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 182.2 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007438, allocations: 95.31 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003471, allocations: 9.281 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2228, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.001921/0.2248, allocations: 1.545 MB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009095/0.2257, allocations: 0.6047 MB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.2258, allocations: 4 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.226, allocations: 23.78 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.2263, allocations: 95.59 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2266, allocations: 143.8 kB / 0.9032 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.2268, allocations: 179.5 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2269, allocations: 37.53 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.227, allocations: 91.67 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002629/0.2297, allocations: 2.267 MB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.2297, allocations: 8 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.2298, allocations: 31.97 kB / 0.9057 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.2299, allocations: 31.84 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.2299, allocations: 49.64 kB / 0.9058 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2301, allocations: 139.6 kB / 0.9059 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2301, allocations: 4 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2301, allocations: 0 / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2301, allocations: 0 / 0.9059 GB, free: 58.62 MB / 0.6042 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.0006264/0.2308, allocations: 0.5022 MB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2308, allocations: 8.031 kB / 0.9064 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.2309, allocations: 27.77 kB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.2311, allocations: 238.7 kB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.2311, allocations: 4.188 kB / 0.9067 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.2312, allocations: 19.94 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2314, allocations: 95.16 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2314, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2314, allocations: 0 / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2314, allocations: 7.984 kB / 0.9068 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2315, allocations: 56.48 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.2322, allocations: 476.4 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2324, allocations: 82.48 kB / 0.9074 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.2324, allocations: 28.84 kB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.2324, allocations: 7.984 kB / 0.9074 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.2326, allocations: 102.1 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2326, allocations: 0 / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0002681/0.2329, allocations: 141.5 kB / 0.9077 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.233, allocations: 59.39 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.2331, allocations: 186.4 kB / 0.9079 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2331, allocations: 33.7 kB / 0.9079 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.2332, allocations: 120.4 kB / 0.908 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2332, allocations: 35.55 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-06/0.2333, allocations: 4 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.2333, allocations: 326.8 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.2334, allocations: 35.94 kB / 0.9084 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2336, allocations: 131 kB / 0.9086 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.2337, allocations: 39.98 kB / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2337, allocations: 0 / 0.9086 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001866/0.2339, allocations: 137.4 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2339, allocations: 11.94 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2339, allocations: 0 / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2339, allocations: 7.938 kB / 0.9087 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.234, allocations: 15.98 kB / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.234, allocations: 8.156 kB / 0.9088 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.2342, allocations: 27.83 kB / 0.9088 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2342, allocations: 4 kB / 0.9088 GB, free: 55.43 MB / 0.6042 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 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2343, allocations: 147.5 kB / 0.9089 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.2344, allocations: 15.81 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.2346, allocations: 136.4 kB / 0.9091 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2346, allocations: 4 kB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2346, allocations: 4.219 kB / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2346, allocations: 0 / 0.9091 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.235, allocations: 467.1 kB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.235, allocations: 0 / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.2351, allocations: 11.94 kB / 0.9095 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2351, allocations: 4 kB / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2351, allocations: 3.984 kB / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2351, allocations: 0 / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2351, allocations: 0 / 0.9096 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2353, allocations: 215.9 kB / 0.9098 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2353, allocations: 92.91 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2354, allocations: 4 kB / 0.9099 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2355, allocations: 15.98 kB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.2355, allocations: 19.92 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2356, allocations: 7.984 kB / 0.9099 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.94e-05/0.2356, allocations: 144.1 kB / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2357, allocations: 0 / 0.91 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002728/0.2359, allocations: 43.98 kB / 0.9101 GB, free: 54.02 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/0.2362, allocations: 166.2 kB / 0.9102 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2364, allocations: 87.91 kB / 0.9103 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2364, allocations: 320 / 0.9103 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-05/0.2365, allocations: 51.92 kB / 0.9104 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2369, allocations: 49.47 kB / 0.9104 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.2375, allocations: 354.5 kB / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2377, allocations: 0.7244 MB / 0.9115 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.2377, allocations: 23.42 kB / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2377, allocations: 0 / 0.9115 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.004252/0.242, allocations: 2.983 MB / 0.9144 GB, free: 49.56 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.Scatter.makefile clang++ -Winvalid-pch -O0 -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 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ScatterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/plotInit.c:41:21: error: assigning to 'char **' from incompatible type 'void *' plotFileNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/plotInit.c:42: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 7.0.3-maint.7.0.x/Resources/C-Sources/plotInit.c:44: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 7.0.3-maint.7.0.x/Resources/C-Sources/plotInit.c:53: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 7.0.3-maint.7.0.x/Resources/C-Sources/plotInit.c:79:24: error: cannot initialize a variable of type 'PlotObjectStructure *' with an rvalue of type 'void *' PlotObjectStructure* plt = malloc(sizeof(PlotObjectStructure)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5 errors generated. make: *** [: OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ScatterCalcHelperMain.o] Error 1