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.595/1.595, allocations: 252 MB / 268 MB, free: 10.84 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.001062/0.001062, allocations: 178.5 kB / 327.6 MB, free: 2.082 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.989/1.989, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0009356, allocations: 91.91 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 12.72 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002252/0.2955, allocations: 1.546 MB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.297, allocations: 0.9676 MB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.2971, allocations: 4 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.2973, allocations: 23.84 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.2976, allocations: 99.58 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.2979, allocations: 135.8 kB / 0.9041 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.2982, allocations: 231.4 kB / 0.9044 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.2983, allocations: 33.66 kB / 0.9044 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2984, allocations: 99.67 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06211/0.3605, allocations: 3.313 MB / 0.9077 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.3607, allocations: 8 kB / 0.9077 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.3609, allocations: 31.92 kB / 0.9078 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.361, allocations: 27.91 kB / 0.9078 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3612, allocations: 109.2 kB / 0.9079 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.3615, allocations: 139.7 kB / 0.908 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3615, allocations: 4 kB / 0.908 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3615, allocations: 0 / 0.908 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3615, allocations: 0 / 0.908 GB, free: 57.38 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.0009256/0.3625, allocations: 0.5262 MB / 0.9085 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3625, allocations: 8.031 kB / 0.9086 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3626, allocations: 20.75 kB / 0.9086 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.363, allocations: 247.5 kB / 0.9088 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.363, allocations: 8 kB / 0.9088 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.3631, allocations: 12 kB / 0.9088 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.3633, allocations: 103.9 kB / 0.9089 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3633, allocations: 0 / 0.9089 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3633, allocations: 11.98 kB / 0.9089 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3633, allocations: 0 / 0.9089 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.3634, allocations: 51.97 kB / 0.909 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008352/0.3643, allocations: 472.4 kB / 0.9094 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.3647, allocations: 154.7 kB / 0.9096 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.3648, allocations: 32.86 kB / 0.9096 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3648, allocations: 0 / 0.9096 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.365, allocations: 119.2 kB / 0.9097 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.365, allocations: 3.938 kB / 0.9097 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0003541/0.3654, allocations: 172.4 kB / 0.9099 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.3654, allocations: 55.41 kB / 0.91 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3656, allocations: 198.6 kB / 0.9101 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.3657, allocations: 29.7 kB / 0.9102 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.3658, allocations: 124.4 kB / 0.9103 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.3658, allocations: 27.61 kB / 0.9103 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.3658, allocations: 12 kB / 0.9103 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.3659, allocations: 326.8 kB / 0.9106 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.366, allocations: 31.92 kB / 0.9107 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.3662, allocations: 131.6 kB / 0.9108 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3663, allocations: 107.9 kB / 0.9109 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3663, allocations: 0 / 0.9109 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002282/0.3666, allocations: 153.3 kB / 0.911 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3666, allocations: 4 kB / 0.911 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3666, allocations: 4.125 kB / 0.9111 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3666, allocations: 4 kB / 0.9111 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.3667, allocations: 19.92 kB / 0.9111 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3667, allocations: 3.938 kB / 0.9111 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.367, allocations: 35.83 kB / 0.9111 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.367, allocations: 4 kB / 0.9111 GB, free: 53.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.3671, allocations: 147.5 kB / 0.9113 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.3672, allocations: 15.81 kB / 0.9113 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.3672, allocations: 21.88 kB / 0.9113 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3672, allocations: 4 kB / 0.9113 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3672, allocations: 0 / 0.9113 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3673, allocations: 3.984 kB / 0.9113 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.3679, allocations: 0.4942 MB / 0.9118 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3679, allocations: 0 / 0.9118 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.64e-05/0.368, allocations: 7.938 kB / 0.9118 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.368, allocations: 4 kB / 0.9118 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.368, allocations: 3.984 kB / 0.9118 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.368, allocations: 3.938 kB / 0.9118 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.368, allocations: 0 / 0.9118 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3682, allocations: 227.3 kB / 0.912 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.3683, allocations: 96.84 kB / 0.9121 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3683, allocations: 8 kB / 0.9121 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3685, allocations: 19.92 kB / 0.9121 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.3685, allocations: 23.91 kB / 0.9122 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.3686, allocations: 11.98 kB / 0.9122 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001162/0.3687, allocations: 148.2 kB / 0.9123 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3687, allocations: 3.938 kB / 0.9123 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003043/0.369, allocations: 47.91 kB / 0.9124 GB, free: 52.58 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 (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.0003705/0.3694, allocations: 170.4 kB / 0.9125 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3696, allocations: 99.78 kB / 0.9126 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3697, allocations: 0 / 0.9126 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.3697, allocations: 55.92 kB / 0.9127 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3702, allocations: 63.03 kB / 0.9127 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.371, allocations: 384.2 kB / 0.9131 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3712, allocations: 0.7167 MB / 0.9138 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.544e-05/0.3713, allocations: 31.42 kB / 0.9138 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.3713, allocations: 3.938 kB / 0.9138 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.005904/0.3772, allocations: 3.172 MB / 0.9169 GB, free: 47.88 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++ -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.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