Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 105.7 kB / 15.99 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 194.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.45 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2353, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003144/0.2384, allocations: 1.9 MB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.24, allocations: 0.9719 MB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.209e-05/0.24, allocations: 3.938 kB / 0.7863 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2403, allocations: 19.86 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.2406, allocations: 103.6 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.241, allocations: 143.7 kB / 0.7866 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2412, allocations: 243.4 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2414, allocations: 33.67 kB / 0.7868 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2415, allocations: 119.6 kB / 0.7869 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02075/0.2623, allocations: 1.637 MB / 0.7885 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.2624, allocations: 20 kB / 0.7886 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.2626, allocations: 43.97 kB / 0.7886 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2627, allocations: 43.78 kB / 0.7886 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.2629, allocations: 91.56 kB / 0.7887 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2633, allocations: 151.6 kB / 0.7889 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2633, allocations: 0 / 0.7889 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2633, allocations: 4 kB / 0.7889 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.2633, allocations: 0 / 0.7889 GB, free: 8.824 MB / 0.6075 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.001147/0.2645, allocations: 0.5488 MB / 0.7894 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2645, allocations: 12.03 kB / 0.7894 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.533e-05/0.2646, allocations: 20.75 kB / 0.7894 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003451/0.265, allocations: 243.4 kB / 0.7897 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.265, allocations: 19.98 kB / 0.7897 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.2651, allocations: 16 kB / 0.7897 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.2653, allocations: 119.2 kB / 0.7898 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2653, allocations: 3.938 kB / 0.7898 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.2654, allocations: 0 / 0.7898 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2654, allocations: 7.938 kB / 0.7898 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.2655, allocations: 51.97 kB / 0.7899 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009402/0.2665, allocations: 0.5395 MB / 0.7904 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.2666, allocations: 105.2 kB / 0.7905 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.2667, allocations: 37.77 kB / 0.7905 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2667, allocations: 11.97 kB / 0.7906 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.2669, allocations: 117 kB / 0.7907 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.267, allocations: 4 kB / 0.7907 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003579/0.2673, allocations: 161.5 kB / 0.7908 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2674, allocations: 77.11 kB / 0.7909 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.2676, allocations: 210.4 kB / 0.7911 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.2676, allocations: 33.7 kB / 0.7911 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.2677, allocations: 116.5 kB / 0.7912 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.2678, allocations: 31.55 kB / 0.7913 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2679, allocations: 65.8 kB / 0.7913 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.268, allocations: 330.8 kB / 0.7917 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.2681, allocations: 31.98 kB / 0.7917 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.2683, allocations: 142.1 kB / 0.7918 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.2685, allocations: 109.9 kB / 0.7919 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2685, allocations: 0 / 0.7919 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002611/0.2688, allocations: 160.8 kB / 0.7921 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2688, allocations: 8 kB / 0.7921 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2688, allocations: 0 / 0.7921 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2688, allocations: 4 kB / 0.7921 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.2689, allocations: 23.92 kB / 0.7921 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.269, allocations: 4 kB / 0.7921 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.2692, allocations: 23.83 kB / 0.7921 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2692, allocations: 8 kB / 0.7921 GB, free: 5.145 MB / 0.6075 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.0001425/0.2693, allocations: 147.6 kB / 0.7923 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.2694, allocations: 19.75 kB / 0.7923 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.2694, allocations: 21.53 kB / 0.7923 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2694, allocations: 0 / 0.7923 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2695, allocations: 0 / 0.7923 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2695, allocations: 7.984 kB / 0.7923 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.2701, allocations: 466.2 kB / 0.7928 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2701, allocations: 0 / 0.7928 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.2701, allocations: 7.984 kB / 0.7928 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2701, allocations: 7.938 kB / 0.7928 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2701, allocations: 0 / 0.7928 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2701, allocations: 3.938 kB / 0.7928 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2702, allocations: 4 kB / 0.7928 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.2704, allocations: 239.1 kB / 0.793 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.2705, allocations: 92.92 kB / 0.7931 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2705, allocations: 4 kB / 0.7931 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2706, allocations: 15.92 kB / 0.7931 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.2707, allocations: 23.97 kB / 0.7932 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2707, allocations: 4 kB / 0.7932 GB, free: 4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001262/0.2709, allocations: 148.2 kB / 0.7933 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2709, allocations: 0 / 0.7933 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003303/0.2712, allocations: 47.98 kB / 0.7934 GB, free: 3.809 MB / 0.6075 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.0003499/0.2716, allocations: 169.2 kB / 0.7935 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.2718, allocations: 107.9 kB / 0.7936 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2718, allocations: 0 / 0.7936 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.2719, allocations: 51.92 kB / 0.7937 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.2724, allocations: 64.19 kB / 0.7937 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.2731, allocations: 389.6 kB / 0.7941 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.2734, allocations: 0.7281 MB / 0.7948 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.2734, allocations: 23.42 kB / 0.7948 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2734, allocations: 0 / 0.7948 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.005792/0.2792, allocations: 3.188 MB / 0.7979 GB, free: 15.08 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile clang++ -std=c++14 -fopenmp=libomp -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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:42:21: error: assigning to 'char **' from incompatible type 'void *' plotFileNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:43: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 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:45: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 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:54: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 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:80:24: error: cannot initialize a variable of type 'PlotObjectStructure *' with an rvalue of type 'void *' PlotObjectStructure* plt = malloc(sizeof(PlotObjectStructure)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:99:19: error: assigning to 'char *' from incompatible type 'void *' plt->fileName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotInit.c:105:23: error: assigning to 'char *' from incompatible type 'void *' plt->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 errors generated. make: *** [: OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.o] Error 1