Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, 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.0009865/0.0009866, allocations: 182.1 kB / 327.6 MB, free: 2.07 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.298/2.298, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0008649/0.0008647, allocations: 85.88 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003896, allocations: 10.38 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2385, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002044/0.2406, allocations: 1.546 MB / 0.9029 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2421, allocations: 0.9793 MB / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.2421, allocations: 0 / 0.9039 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.2423, allocations: 23.84 kB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.2426, allocations: 95.61 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.2429, allocations: 138.9 kB / 0.9042 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.2432, allocations: 235.3 kB / 0.9044 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2433, allocations: 41.66 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.2434, allocations: 95.67 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06801/0.3114, allocations: 3.565 MB / 0.908 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.496e-05/0.3115, allocations: 8 kB / 0.908 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.3117, allocations: 24 kB / 0.908 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.184e-05/0.3118, allocations: 39.77 kB / 0.9081 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.3119, allocations: 105.3 kB / 0.9082 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.3122, allocations: 155.5 kB / 0.9083 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3122, allocations: 0 / 0.9083 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3122, allocations: 0 / 0.9083 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.3122, allocations: 0 / 0.9083 GB, free: 57.34 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.0008201/0.3131, allocations: 0.5216 MB / 0.9088 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3131, allocations: 11.97 kB / 0.9088 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.3132, allocations: 20.75 kB / 0.9088 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.3135, allocations: 239.5 kB / 0.9091 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3135, allocations: 19.98 kB / 0.9091 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.3136, allocations: 12 kB / 0.9091 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3138, allocations: 112.5 kB / 0.9092 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3138, allocations: 0 / 0.9092 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.3138, allocations: 11.94 kB / 0.9092 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3139, allocations: 0 / 0.9092 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.314, allocations: 51.97 kB / 0.9093 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.3148, allocations: 0.5551 MB / 0.9098 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.315, allocations: 97.25 kB / 0.9099 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.3151, allocations: 41.77 kB / 0.9099 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3151, allocations: 4 kB / 0.91 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3153, allocations: 125 kB / 0.9101 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.445e-06/0.3153, allocations: 0 / 0.9101 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003472/0.3157, allocations: 166.5 kB / 0.9102 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3157, allocations: 81.05 kB / 0.9103 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3159, allocations: 210.4 kB / 0.9105 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3159, allocations: 29.83 kB / 0.9105 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.316, allocations: 128.5 kB / 0.9107 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.316, allocations: 31.55 kB / 0.9107 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.3161, allocations: 8 kB / 0.9107 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.3161, allocations: 326.8 kB / 0.911 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.3162, allocations: 27.98 kB / 0.911 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.3164, allocations: 145.3 kB / 0.9112 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3165, allocations: 116.5 kB / 0.9113 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.3165, allocations: 0 / 0.9113 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002162/0.3168, allocations: 153.4 kB / 0.9114 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3168, allocations: 4 kB / 0.9114 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3168, allocations: 8 kB / 0.9114 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3168, allocations: 0 / 0.9114 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.3171, allocations: 19.92 kB / 0.9115 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3171, allocations: 4 kB / 0.9115 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3173, allocations: 35.98 kB / 0.9115 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3173, allocations: 15.94 kB / 0.9115 GB, free: 53.73 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.0001142/0.3175, allocations: 143.4 kB / 0.9117 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.3175, allocations: 15.81 kB / 0.9117 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.3175, allocations: 21.52 kB / 0.9117 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3176, allocations: 4 kB / 0.9117 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3176, allocations: 0 / 0.9117 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3176, allocations: 4 kB / 0.9117 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.3181, allocations: 470.2 kB / 0.9121 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3181, allocations: 0 / 0.9121 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.3181, allocations: 8 kB / 0.9122 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3182, allocations: 4 kB / 0.9122 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3182, allocations: 4 kB / 0.9122 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3182, allocations: 3.938 kB / 0.9122 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3182, allocations: 0 / 0.9122 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3184, allocations: 242 kB / 0.9124 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.3184, allocations: 92.91 kB / 0.9125 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3185, allocations: 8 kB / 0.9125 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3186, allocations: 23.92 kB / 0.9125 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.3187, allocations: 19.97 kB / 0.9125 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3187, allocations: 4 kB / 0.9125 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001027/0.3188, allocations: 148.2 kB / 0.9127 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3188, allocations: 0 / 0.9127 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002944/0.3191, allocations: 47.94 kB / 0.9127 GB, free: 52.4 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.0003302/0.3195, allocations: 173.4 kB / 0.9129 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3197, allocations: 103.9 kB / 0.913 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3197, allocations: 0 / 0.913 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.3198, allocations: 51.92 kB / 0.913 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.3202, allocations: 56.91 kB / 0.9131 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005495/0.3208, allocations: 369.4 kB / 0.9134 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.321, allocations: 0.7284 MB / 0.9142 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.321, allocations: 23.38 kB / 0.9142 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.3211, allocations: 0 / 0.9142 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.005118/0.3262, allocations: 3.162 MB / 0.9173 GB, free: 47.71 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOffCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffFunctions.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.PlotterActivationLocalInputFirstOffCalcHelperMain.o] Error 1