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.433/1.433, allocations: 252 MB / 267.6 MB, free: 10.98 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.001164/0.001165, allocations: 182.9 kB / 327.3 MB, free: 2.25 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.781/1.781, allocations: 205.4 MB / 0.5783 GB, free: 20.32 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.0007962/0.0007963, allocations: 94.47 kB / 0.6829 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003164, allocations: 9.938 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1915, allocations: 106.3 MB / 0.9008 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.001925/0.1934, allocations: 1.508 MB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1948, allocations: 0.9329 MB / 0.9032 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.1949, allocations: 4 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1951, allocations: 19.8 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1954, allocations: 107.5 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.1957, allocations: 150.2 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1959, allocations: 195.4 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1961, allocations: 37.66 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1962, allocations: 99.66 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00335/0.1996, allocations: 3.09 MB / 0.9068 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.94e-05/0.1996, allocations: 8 kB / 0.9068 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1998, allocations: 31.97 kB / 0.9068 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1998, allocations: 27.91 kB / 0.9069 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1999, allocations: 53.58 kB / 0.9069 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2001, allocations: 139.7 kB / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2001, allocations: 4 kB / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2001, allocations: 0 / 0.9071 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2001, allocations: 4 kB / 0.9071 GB, free: 57.55 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.0006644/0.2008, allocations: 0.5213 MB / 0.9076 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2008, allocations: 12.03 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.2009, allocations: 19.81 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2011, allocations: 238.7 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2011, allocations: 12 kB / 0.9078 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.2012, allocations: 16 kB / 0.9079 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2014, allocations: 113.7 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2014, allocations: 3.938 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2014, allocations: 7.984 kB / 0.908 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2014, allocations: 0 / 0.908 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.992e-05/0.2015, allocations: 59.88 kB / 0.908 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.2022, allocations: 0.5552 MB / 0.9086 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2024, allocations: 93.27 kB / 0.9087 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.2024, allocations: 41.77 kB / 0.9087 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2025, allocations: 8 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.2026, allocations: 122.2 kB / 0.9088 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.2027, allocations: 0 / 0.9088 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002737/0.2029, allocations: 153.4 kB / 0.909 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.203, allocations: 85.06 kB / 0.9091 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2031, allocations: 206.6 kB / 0.9093 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2032, allocations: 37.64 kB / 0.9093 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.2032, allocations: 120.4 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.2032, allocations: 35.53 kB / 0.9094 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.2033, allocations: 8 kB / 0.9094 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.2033, allocations: 326.8 kB / 0.9098 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.2034, allocations: 32.36 kB / 0.9098 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2036, allocations: 134.1 kB / 0.9099 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.2036, allocations: 45.17 kB / 0.91 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2036, allocations: 11.94 kB / 0.91 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000191/0.2038, allocations: 145.4 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2039, allocations: 8 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2039, allocations: 3.938 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2039, allocations: 4 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.204, allocations: 23.92 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.204, allocations: 7.953 kB / 0.9102 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2042, allocations: 28.05 kB / 0.9102 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.2043, allocations: 8 kB / 0.9102 GB, free: 54.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2044, allocations: 143.5 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.2044, allocations: 19.81 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.2044, allocations: 17.53 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2045, allocations: 4 kB / 0.9104 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2045, allocations: 3.984 kB / 0.9104 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2045, allocations: 7.953 kB / 0.9104 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.205, allocations: 463.8 kB / 0.9108 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.205, allocations: 3.984 kB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.205, allocations: 4 kB / 0.9108 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.205, allocations: 8.094 kB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.205, allocations: 3.953 kB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.205, allocations: 0 / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.205, allocations: 7.984 kB / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.2052, allocations: 229.3 kB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.2053, allocations: 96.92 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.2053, allocations: 3.984 kB / 0.9112 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.2054, allocations: 23.94 kB / 0.9112 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.2055, allocations: 19.97 kB / 0.9112 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2055, allocations: 8 kB / 0.9112 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.2056, allocations: 139.2 kB / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2056, allocations: 0 / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002808/0.2059, allocations: 55.83 kB / 0.9114 GB, free: 52.71 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 (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.0003026/0.2062, allocations: 164.9 kB / 0.9116 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2064, allocations: 105.4 kB / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2064, allocations: 0 / 0.9117 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.2065, allocations: 47.92 kB / 0.9117 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.2069, allocations: 58.06 kB / 0.9118 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.2075, allocations: 365.5 kB / 0.9121 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2076, allocations: 0.7247 MB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2077, allocations: 23.42 kB / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2077, allocations: 0 / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.004423/0.2121, allocations: 3.189 MB / 0.9159 GB, free: 48.02 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++ -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.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