Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001249/0.001249, allocations: 192.4 kB / 17.31 MB, free: 5.824 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.56/1.56, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.7 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.001463/0.001464, allocations: 72.11 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2995, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004214/0.3038, allocations: 1.745 MB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3058, allocations: 0.9406 MB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.306, allocations: 4 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.3064, allocations: 19.73 kB / 0.7874 GB, free: 488 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.3069, allocations: 119.4 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.3074, allocations: 159.6 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4693/0.7767, allocations: 243.2 kB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.777, allocations: 32.61 kB / 0.7879 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.7773, allocations: 114.3 kB / 0.7881 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.7775, allocations: 128.4 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.7775, allocations: 17.44 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.7778, allocations: 130.4 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.7779, allocations: 43 kB / 0.7884 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.7781, allocations: 94.25 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.7785, allocations: 295.3 kB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7785, allocations: 2.469 kB / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7785, allocations: 0 / 0.7887 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.7785, allocations: 0 / 0.7887 GB, free: 46.44 MB / 0.6544 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.0007911/0.7793, allocations: 0.5704 MB / 0.7893 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7793, allocations: 12.39 kB / 0.7893 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.7794, allocations: 17.28 kB / 0.7893 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.7797, allocations: 250 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.7797, allocations: 10.03 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.7797, allocations: 19.53 kB / 0.7896 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.7799, allocations: 96.47 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7799, allocations: 2.344 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.78, allocations: 5.375 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.78, allocations: 2.625 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.7801, allocations: 47.92 kB / 0.7897 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.7808, allocations: 461.5 kB / 0.7902 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.7812, allocations: 135 kB / 0.7903 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.7813, allocations: 37.44 kB / 0.7903 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.7813, allocations: 1.719 kB / 0.7903 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.7815, allocations: 111.7 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.7815, allocations: 1.844 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003195/0.7818, allocations: 167.4 kB / 0.7906 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.7819, allocations: 63.09 kB / 0.7907 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.782, allocations: 196.1 kB / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7821, allocations: 31.77 kB / 0.7909 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.7821, allocations: 128.9 kB / 0.791 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.7822, allocations: 32.69 kB / 0.791 GB, free: 45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.7823, allocations: 58.44 kB / 0.7911 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.7823, allocations: 334.2 kB / 0.7914 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.7824, allocations: 29.11 kB / 0.7914 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.7826, allocations: 128.6 kB / 0.7916 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.7827, allocations: 103.1 kB / 0.7917 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7827, allocations: 4.219 kB / 0.7917 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001993/0.7829, allocations: 153.7 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7829, allocations: 9.219 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7829, allocations: 2.344 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.783, allocations: 2.688 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.563e-05/0.783, allocations: 18.31 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.783, allocations: 4.438 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.7833, allocations: 31.41 kB / 0.7919 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.7833, allocations: 5.75 kB / 0.7919 GB, free: 44.5 MB / 0.6544 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,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 9.767e-05/0.7834, allocations: 143 kB / 0.792 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.7834, allocations: 15.69 kB / 0.792 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.544e-05/0.7835, allocations: 23.86 kB / 0.7921 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.7835, allocations: 3.219 kB / 0.7921 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7835, allocations: 1.031 kB / 0.7921 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7835, allocations: 0 / 0.7921 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.784, allocations: 492.5 kB / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.784, allocations: 0.5938 kB / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.7841, allocations: 10.91 kB / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7841, allocations: 8.469 kB / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.7841, allocations: 0 / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7841, allocations: 0 / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7841, allocations: 0 / 0.7925 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.7843, allocations: 235 kB / 0.7928 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.7843, allocations: 91.48 kB / 0.7929 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.7844, allocations: 6.141 kB / 0.7929 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.7845, allocations: 17.66 kB / 0.7929 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7846, allocations: 22.8 kB / 0.7929 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.7846, allocations: 10.45 kB / 0.7929 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001029/0.7847, allocations: 142.9 kB / 0.793 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7847, allocations: 3.938 kB / 0.7931 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003444/0.7851, allocations: 76.91 kB / 0.7931 GB, free: 43.73 MB / 0.6544 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.0004746/0.7855, allocations: 243.3 kB / 0.7934 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.7858, allocations: 100.3 kB / 0.7935 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7858, allocations: 0 / 0.7935 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.7859, allocations: 49.14 kB / 0.7935 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.7863, allocations: 56.38 kB / 0.7936 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.7869, allocations: 343.2 kB / 0.7939 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.787, allocations: 0.7237 MB / 0.7946 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.7871, allocations: 29.22 kB / 0.7946 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2e-07/0.7871, allocations: 0 / 0.7946 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.00597/0.7931, allocations: 3.648 MB / 0.7982 GB, free: 42.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile clang++ -std=c++17 -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.PlotterActivationGlobalInputCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFunctions.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.PlotterActivationGlobalInputCalcHelperMain.o] Error 1