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.381/1.381, allocations: 252 MB / 267.6 MB, free: 10.91 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.001073/0.001073, allocations: 176.5 kB / 327.3 MB, free: 2.184 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.744/1.744, allocations: 205.4 MB / 0.5783 GB, free: 20.16 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.0008062/0.0008061, allocations: 93.41 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003501, allocations: 8.812 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2023, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00195/0.2043, allocations: 1.504 MB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2057, allocations: 0.9407 MB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.2059, allocations: 4 kB / 0.9032 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2061, allocations: 27.8 kB / 0.9032 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.2065, allocations: 99.52 kB / 0.9033 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.2069, allocations: 146.2 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.2071, allocations: 203.4 kB / 0.9037 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2072, allocations: 29.67 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2074, allocations: 95.67 kB / 0.9038 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003449/0.2108, allocations: 3.129 MB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.2109, allocations: 8 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.211, allocations: 28 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.2111, allocations: 27.89 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.2111, allocations: 57.58 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2113, allocations: 139.7 kB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2114, allocations: 3.984 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2114, allocations: 4 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2114, allocations: 0 / 0.9071 GB, free: 57.41 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.0007317/0.2121, allocations: 0.5175 MB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2122, allocations: 12.03 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.421e-05/0.2123, allocations: 23.77 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.2126, allocations: 234.7 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2126, allocations: 15.94 kB / 0.9079 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.2127, allocations: 16 kB / 0.9079 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.2129, allocations: 93.59 kB / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2129, allocations: 0 / 0.908 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2129, allocations: 4 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2129, allocations: 0 / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.2131, allocations: 58.48 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.214, allocations: 476.3 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.2144, allocations: 154.7 kB / 0.9086 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.2145, allocations: 32.84 kB / 0.9087 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.2145, allocations: 4 kB / 0.9087 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.2147, allocations: 108.7 kB / 0.9088 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.2147, allocations: 7.938 kB / 0.9088 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003025/0.2151, allocations: 163 kB / 0.9089 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2151, allocations: 55.41 kB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2152, allocations: 198.5 kB / 0.9092 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.2153, allocations: 33.7 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.2153, allocations: 116.5 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2154, allocations: 39.55 kB / 0.9094 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-06/0.2154, allocations: 0 / 0.9094 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/0.2155, allocations: 330.8 kB / 0.9097 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.2155, allocations: 44.34 kB / 0.9097 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.2157, allocations: 120.4 kB / 0.9098 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.722e-05/0.2158, allocations: 39.98 kB / 0.9099 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2158, allocations: 0 / 0.9099 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001916/0.216, allocations: 155.8 kB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.216, allocations: 4 kB / 0.91 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.216, allocations: 7.953 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2161, allocations: 4 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.2161, allocations: 19.94 kB / 0.9101 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2161, allocations: 3.984 kB / 0.9101 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2164, allocations: 31.95 kB / 0.9101 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.2164, allocations: 12 kB / 0.9101 GB, free: 54.07 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,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) * 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.0001027/0.2165, allocations: 131.6 kB / 0.9102 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2165, allocations: 15.81 kB / 0.9102 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.2166, allocations: 25.86 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2166, allocations: 7.891 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2166, allocations: 4 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2166, allocations: 4 kB / 0.9103 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.2172, allocations: 0.498 MB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2172, allocations: 4 kB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.2172, allocations: 4 kB / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2172, allocations: 0 / 0.9108 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2172, allocations: 8 kB / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2172, allocations: 0 / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2172, allocations: 0 / 0.9108 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2174, allocations: 229.2 kB / 0.911 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.2175, allocations: 104.7 kB / 0.9111 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2175, allocations: 8 kB / 0.9111 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2176, allocations: 15.98 kB / 0.9111 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.2177, allocations: 19.97 kB / 0.9111 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.2177, allocations: 11.98 kB / 0.9112 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2179, allocations: 139.2 kB / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.92e-07/0.2179, allocations: 0 / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002799/0.2181, allocations: 47.94 kB / 0.9113 GB, free: 52.71 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 (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.0003077/0.2185, allocations: 155.2 kB / 0.9115 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.2187, allocations: 103.8 kB / 0.9116 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2187, allocations: 0 / 0.9116 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.2188, allocations: 55.91 kB / 0.9116 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.0003961/0.2192, allocations: 53.84 kB / 0.9117 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.2198, allocations: 376.3 kB / 0.912 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.22, allocations: 0.7245 MB / 0.9128 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.22, allocations: 23.44 kB / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/0.22, allocations: 0 / 0.9128 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.004887/0.2249, allocations: 3.189 MB / 0.9159 GB, free: 48.01 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++ -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.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