Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 252 MB / 268 MB, free: 10.85 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.001071/0.001071, allocations: 179.3 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.5786 GB, free: 20.4 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.0009212/0.0009209, allocations: 95.91 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8.156 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002255/0.238, allocations: 1.546 MB / 0.9029 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2395, allocations: 0.9754 MB / 0.9039 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.2396, allocations: 4 kB / 0.9039 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.2398, allocations: 19.86 kB / 0.9039 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.2401, allocations: 103.6 kB / 0.904 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2404, allocations: 131.8 kB / 0.9041 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.2406, allocations: 231.4 kB / 0.9044 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2408, allocations: 45.64 kB / 0.9044 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.999e-05/0.2409, allocations: 87.69 kB / 0.9045 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06053/0.3014, allocations: 3.277 MB / 0.9077 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.3015, allocations: 8 kB / 0.9077 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3017, allocations: 28 kB / 0.9077 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3018, allocations: 35.83 kB / 0.9078 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3019, allocations: 109.2 kB / 0.9079 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.3021, allocations: 139.7 kB / 0.908 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3021, allocations: 4 kB / 0.908 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.3021, allocations: 0 / 0.908 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3021, allocations: 0 / 0.908 GB, free: 57.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006938/0.3028, allocations: 0.5293 MB / 0.9085 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3029, allocations: 8.031 kB / 0.9085 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.895e-05/0.3029, allocations: 20.75 kB / 0.9085 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3032, allocations: 247.5 kB / 0.9088 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3032, allocations: 8 kB / 0.9088 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.3032, allocations: 19.94 kB / 0.9088 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3034, allocations: 117.5 kB / 0.9089 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3034, allocations: 4 kB / 0.9089 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3035, allocations: 8 kB / 0.9089 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3035, allocations: 3.984 kB / 0.9089 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.899e-05/0.3036, allocations: 47.97 kB / 0.909 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.3043, allocations: 0.5551 MB / 0.9095 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3045, allocations: 105.2 kB / 0.9096 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.3045, allocations: 33.78 kB / 0.9097 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3045, allocations: 7.984 kB / 0.9097 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3047, allocations: 121 kB / 0.9098 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.3047, allocations: 3.938 kB / 0.9098 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003038/0.305, allocations: 157.6 kB / 0.9099 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.3051, allocations: 89.05 kB / 0.91 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.3052, allocations: 206.4 kB / 0.9102 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.3053, allocations: 33.7 kB / 0.9103 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.3053, allocations: 116.5 kB / 0.9104 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.3054, allocations: 39.53 kB / 0.9104 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.3054, allocations: 4 kB / 0.9104 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/0.3055, allocations: 331 kB / 0.9107 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-05/0.3055, allocations: 31.98 kB / 0.9107 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.3057, allocations: 137.3 kB / 0.9109 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.3058, allocations: 113.2 kB / 0.911 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3058, allocations: 4 kB / 0.911 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001947/0.306, allocations: 161.3 kB / 0.9111 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3061, allocations: 8.156 kB / 0.9112 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3061, allocations: 4 kB / 0.9112 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3061, allocations: 0 / 0.9112 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.3062, allocations: 15.94 kB / 0.9112 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3062, allocations: 11.92 kB / 0.9112 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3064, allocations: 31.83 kB / 0.9112 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3064, allocations: 8 kB / 0.9112 GB, free: 54.27 MB / 0.6042 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 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * 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 0.0001036/0.3065, allocations: 143.5 kB / 0.9114 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3066, allocations: 15.81 kB / 0.9114 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.3066, allocations: 21.52 kB / 0.9114 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3066, allocations: 4 kB / 0.9114 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3066, allocations: 0 / 0.9114 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3067, allocations: 0 / 0.9114 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3071, allocations: 470.2 kB / 0.9118 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3072, allocations: 0 / 0.9118 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.3072, allocations: 4 kB / 0.9119 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3072, allocations: 96 / 0.9119 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3072, allocations: 15.97 kB / 0.9119 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3072, allocations: 3.938 kB / 0.9119 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3072, allocations: 0 / 0.9119 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.3074, allocations: 234.8 kB / 0.9121 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3074, allocations: 96.91 kB / 0.9122 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3075, allocations: 7.938 kB / 0.9122 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3076, allocations: 27.92 kB / 0.9122 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.3077, allocations: 19.97 kB / 0.9122 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3077, allocations: 11.98 kB / 0.9123 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.3078, allocations: 140.2 kB / 0.9124 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3078, allocations: 0 / 0.9124 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002807/0.3081, allocations: 55.92 kB / 0.9124 GB, free: 52.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003105/0.3084, allocations: 157.7 kB / 0.9126 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3086, allocations: 103.1 kB / 0.9127 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3086, allocations: 3.938 kB / 0.9127 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.3087, allocations: 51.92 kB / 0.9127 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.3093, allocations: 58.42 kB / 0.9128 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3099, allocations: 385 kB / 0.9132 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.3101, allocations: 0.7283 MB / 0.9139 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.3101, allocations: 31.36 kB / 0.9139 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.3101, allocations: 0 / 0.9139 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.004487/0.3146, allocations: 3.173 MB / 0.917 GB, free: 48.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInputCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFunctions.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.PlotterActivationLocalInputCalcHelperMain.o] Error 1