Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001082/0.001082, allocations: 173.5 kB / 326.5 MB, free: 2.699 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.782/1.782, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0009023/0.0009023, allocations: 82.45 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 9.281 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1969, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001969/0.1989, allocations: 1.559 MB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2004, allocations: 0.9987 MB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2006, allocations: 0 / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.2008, allocations: 23.86 kB / 0.8993 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.2011, allocations: 87.59 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.2015, allocations: 143.8 kB / 0.8995 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.2017, allocations: 227.4 kB / 0.8997 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2019, allocations: 41.61 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.202, allocations: 99.61 kB / 0.8998 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0607/0.2627, allocations: 3.306 MB / 0.9031 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.538e-05/0.2628, allocations: 8 kB / 0.9031 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.263, allocations: 35.94 kB / 0.9031 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.263, allocations: 35.83 kB / 0.9031 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.2631, allocations: 83.55 kB / 0.9032 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.2633, allocations: 143.7 kB / 0.9033 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2633, allocations: 0 / 0.9033 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2633, allocations: 0 / 0.9033 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2633, allocations: 0 / 0.9033 GB, free: 62.23 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006236/0.264, allocations: 0.5215 MB / 0.9039 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.264, allocations: 8.031 kB / 0.9039 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.2641, allocations: 28.73 kB / 0.9039 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.2643, allocations: 235.5 kB / 0.9041 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2643, allocations: 8 kB / 0.9041 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.2644, allocations: 16 kB / 0.9041 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.2645, allocations: 107.6 kB / 0.9042 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2645, allocations: 0 / 0.9042 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2645, allocations: 0 / 0.9042 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2646, allocations: 7.984 kB / 0.9042 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.006e-05/0.2647, allocations: 51.97 kB / 0.9043 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.2653, allocations: 472.3 kB / 0.9047 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.2657, allocations: 158.7 kB / 0.9049 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.2657, allocations: 36.84 kB / 0.9049 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2658, allocations: 3.938 kB / 0.9049 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.2659, allocations: 115.2 kB / 0.905 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.2659, allocations: 0 / 0.905 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0002722/0.2662, allocations: 165.3 kB / 0.9052 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.2663, allocations: 59.39 kB / 0.9053 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.2664, allocations: 190.6 kB / 0.9054 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2664, allocations: 33.7 kB / 0.9055 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2665, allocations: 128.4 kB / 0.9056 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.2665, allocations: 35.56 kB / 0.9056 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2666, allocations: 29.7 kB / 0.9057 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.991e-05/0.2666, allocations: 326.8 kB / 0.906 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.2667, allocations: 35.91 kB / 0.906 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.2669, allocations: 131.6 kB / 0.9061 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.267, allocations: 100.1 kB / 0.9062 GB, free: 59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.267, allocations: 0 / 0.9062 GB, free: 59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001861/0.2672, allocations: 153.4 kB / 0.9064 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2672, allocations: 8 kB / 0.9064 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2672, allocations: 0 / 0.9064 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2672, allocations: 4 kB / 0.9064 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.2673, allocations: 15.98 kB / 0.9064 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2673, allocations: 3.938 kB / 0.9064 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2675, allocations: 35.83 kB / 0.9064 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2675, allocations: 4 kB / 0.9064 GB, free: 58.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.01e-05/0.2676, allocations: 143.5 kB / 0.9066 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.2676, allocations: 15.81 kB / 0.9066 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.2677, allocations: 21.86 kB / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2677, allocations: 0 / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2677, allocations: 4 kB / 0.9066 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2677, allocations: 0 / 0.9066 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.2682, allocations: 0.4943 MB / 0.9071 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2682, allocations: 0 / 0.9071 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.2682, allocations: 15.86 kB / 0.9071 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.2682, allocations: 4 kB / 0.9071 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.2683, allocations: 4 kB / 0.9071 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2683, allocations: 7.938 kB / 0.9071 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2683, allocations: 0 / 0.9071 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2684, allocations: 234.7 kB / 0.9074 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.2685, allocations: 96.84 kB / 0.9074 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2685, allocations: 4 kB / 0.9075 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2686, allocations: 19.92 kB / 0.9075 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.2687, allocations: 31.91 kB / 0.9075 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.2687, allocations: 7.984 kB / 0.9075 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.2688, allocations: 144.2 kB / 0.9076 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2688, allocations: 0 / 0.9076 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002614/0.2691, allocations: 47.84 kB / 0.9077 GB, free: 57.39 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002689/0.2694, allocations: 167.3 kB / 0.9079 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.2695, allocations: 95.91 kB / 0.9079 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2696, allocations: 0 / 0.9079 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.387e-05/0.2696, allocations: 60.11 kB / 0.908 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.27, allocations: 51.95 kB / 0.908 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.2706, allocations: 386.5 kB / 0.9084 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.2707, allocations: 0.7283 MB / 0.9091 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.2707, allocations: 19.44 kB / 0.9091 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2708, allocations: 3.938 kB / 0.9092 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.004024/0.2748, allocations: 3.176 MB / 0.9123 GB, free: 52.7 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile clang++ -std=c++14 -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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFunctions.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.Validation.PlotterActivationGlobalInputCalcHelperMain.o] Error 1