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.39/1.39, 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.0009763/0.0009764, allocations: 178.2 kB / 326.5 MB, free: 2.684 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.97/1.97, allocations: 205 MB / 0.5766 GB, free: 21 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.0009357/0.0009359, allocations: 88.31 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8.25 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.00248/0.3114, allocations: 1.556 MB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3133, allocations: 1.003 MB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.3135, allocations: 0 / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.3137, allocations: 27.84 kB / 0.8993 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.3141, allocations: 95.59 kB / 0.8993 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.3145, allocations: 135.8 kB / 0.8995 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.3147, allocations: 227.4 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3149, allocations: 49.53 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.315, allocations: 95.67 kB / 0.8998 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06786/0.3829, allocations: 3.561 MB / 0.9033 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.383, allocations: 8 kB / 0.9033 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3832, allocations: 31.94 kB / 0.9033 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.3833, allocations: 39.83 kB / 0.9034 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.3835, allocations: 75.56 kB / 0.9035 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3839, allocations: 147.6 kB / 0.9036 GB, free: 62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.3839, allocations: 7.938 kB / 0.9036 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3839, allocations: 0 / 0.9036 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3839, allocations: 0 / 0.9036 GB, free: 61.99 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.001006/0.3849, allocations: 0.5254 MB / 0.9041 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.385, allocations: 12.03 kB / 0.9041 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.3851, allocations: 16.75 kB / 0.9041 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.3855, allocations: 239.5 kB / 0.9044 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3855, allocations: 16 kB / 0.9044 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.3855, allocations: 15.98 kB / 0.9044 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.3858, allocations: 112 kB / 0.9045 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3858, allocations: 0 / 0.9045 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3858, allocations: 11.94 kB / 0.9045 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3859, allocations: 0 / 0.9045 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.386, allocations: 59.56 kB / 0.9046 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.3869, allocations: 0.5551 MB / 0.9051 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3871, allocations: 97.25 kB / 0.9052 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.3872, allocations: 45.77 kB / 0.9053 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3872, allocations: 0 / 0.9053 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.3875, allocations: 128.3 kB / 0.9054 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.3875, allocations: 0 / 0.9054 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0004353/0.3879, allocations: 165.5 kB / 0.9055 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.388, allocations: 89.03 kB / 0.9056 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3882, allocations: 202.5 kB / 0.9058 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3882, allocations: 29.7 kB / 0.9058 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.3884, allocations: 132.5 kB / 0.906 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.3884, allocations: 27.62 kB / 0.906 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3884, allocations: 29.7 kB / 0.906 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3886, allocations: 330.8 kB / 0.9063 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.3886, allocations: 31.98 kB / 0.9064 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.3889, allocations: 142.8 kB / 0.9065 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.389, allocations: 109.9 kB / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.389, allocations: 4 kB / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002681/0.3893, allocations: 154.2 kB / 0.9068 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3893, allocations: 4 kB / 0.9068 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3893, allocations: 4 kB / 0.9068 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.3894, allocations: 0 / 0.9068 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.3895, allocations: 23.92 kB / 0.9068 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3895, allocations: 4 kB / 0.9068 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3897, allocations: 31.98 kB / 0.9068 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3898, allocations: 12 kB / 0.9068 GB, free: 58.35 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.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,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.0001519/0.3899, allocations: 139.5 kB / 0.907 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.39, allocations: 19.81 kB / 0.907 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.39, allocations: 17.53 kB / 0.907 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.39, allocations: 7.984 kB / 0.907 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.39, allocations: 0 / 0.907 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.39, allocations: 0 / 0.907 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005297/0.3906, allocations: 479.2 kB / 0.9075 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3906, allocations: 3.938 kB / 0.9075 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.3906, allocations: 4 kB / 0.9075 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3906, allocations: 0 / 0.9075 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3906, allocations: 8 kB / 0.9075 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3907, allocations: 7.875 kB / 0.9075 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3907, allocations: 3.938 kB / 0.9075 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3909, allocations: 232 kB / 0.9077 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.3909, allocations: 88.92 kB / 0.9078 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3909, allocations: 8 kB / 0.9078 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3911, allocations: 27.91 kB / 0.9078 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.049e-05/0.3912, allocations: 15.98 kB / 0.9079 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.3912, allocations: 7.984 kB / 0.9079 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3913, allocations: 148.2 kB / 0.908 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 0 / 0.908 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004122/0.3917, allocations: 44 kB / 0.908 GB, free: 57.02 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.0003635/0.3921, allocations: 177.1 kB / 0.9082 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3923, allocations: 95.91 kB / 0.9083 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3923, allocations: 0 / 0.9083 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.3924, allocations: 51.92 kB / 0.9084 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.3929, allocations: 55.83 kB / 0.9084 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3934, allocations: 375.9 kB / 0.9088 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.3936, allocations: 0.7245 MB / 0.9095 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.3937, allocations: 19.44 kB / 0.9095 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.3937, allocations: 4 kB / 0.9095 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.005418/0.3991, allocations: 3.155 MB / 0.9126 GB, free: 52.33 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