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.001103/0.001103, allocations: 108.4 kB / 16.27 MB, free: 5.984 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.001106/0.001106, allocations: 187.8 kB / 17.2 MB, free: 5.609 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.452/1.452, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.023/2.023, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001502/0.001502, allocations: 67.91 kB / 0.6721 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2815, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004623/0.2862, allocations: 1.723 MB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.2884, allocations: 0.9522 MB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2886, allocations: 0 / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.2888, allocations: 31.73 kB / 0.7867 GB, free: 1.16 MB / 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.00054/0.2894, allocations: 119.4 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.2899, allocations: 149.5 kB / 0.7869 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.2903, allocations: 239.4 kB / 0.7871 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.2906, allocations: 37.66 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.2908, allocations: 115.6 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.2911, allocations: 123.6 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.2912, allocations: 20 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.2915, allocations: 111.9 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.644e-05/0.2916, allocations: 51.77 kB / 0.7876 GB, free: 216 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2918, allocations: 91.56 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4919/0.7837, allocations: 285.6 kB / 0.7879 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.7837, allocations: 0 / 0.7879 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7837, allocations: 0 / 0.7879 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7838, allocations: 0 / 0.7879 GB, free: 46.95 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009262/0.7847, allocations: 0.5732 MB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.7847, allocations: 12.19 kB / 0.7885 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.352e-05/0.7848, allocations: 18.09 kB / 0.7885 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.7851, allocations: 244.2 kB / 0.7888 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7852, allocations: 10.53 kB / 0.7888 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.7852, allocations: 17.16 kB / 0.7888 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.7854, allocations: 118.9 kB / 0.7889 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7855, allocations: 1.312 kB / 0.7889 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7855, allocations: 1.312 kB / 0.7889 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.7855, allocations: 3.062 kB / 0.7889 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.7856, allocations: 55.61 kB / 0.789 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008126/0.7864, allocations: 0.5526 MB / 0.7895 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.7866, allocations: 93.62 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.7867, allocations: 44.03 kB / 0.7896 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.7867, allocations: 2.938 kB / 0.7896 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002768/0.787, allocations: 115.8 kB / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.787, allocations: 0 / 0.7897 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003488/0.7873, allocations: 164.2 kB / 0.7899 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.7874, allocations: 83.11 kB / 0.79 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.7876, allocations: 213.7 kB / 0.7902 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.7876, allocations: 32.08 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.7877, allocations: 127.2 kB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.7877, allocations: 30.72 kB / 0.7904 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.7878, allocations: 60.73 kB / 0.7904 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.7879, allocations: 333.1 kB / 0.7907 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.788, allocations: 30.41 kB / 0.7908 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.7882, allocations: 135.4 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.7883, allocations: 117.3 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7883, allocations: 3.938 kB / 0.791 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002193/0.7886, allocations: 159.7 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7886, allocations: 5.312 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7886, allocations: 4.781 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.7886, allocations: 4.781 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.7887, allocations: 16.89 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7887, allocations: 2.625 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.789, allocations: 30.39 kB / 0.7912 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.789, allocations: 8.625 kB / 0.7912 GB, free: 44.82 MB / 0.6544 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.0001087/0.7891, allocations: 142.5 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.7891, allocations: 17.31 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.7892, allocations: 21.34 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.7892, allocations: 6.344 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7892, allocations: 0 / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.7892, allocations: 3.594 kB / 0.7914 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005042/0.7897, allocations: 470.1 kB / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7897, allocations: 0 / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.7898, allocations: 5.25 kB / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7898, allocations: 3.25 kB / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.7898, allocations: 12.05 kB / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7898, allocations: 0 / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7898, allocations: 1.438 kB / 0.7919 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.79, allocations: 230.6 kB / 0.7921 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.7901, allocations: 102.3 kB / 0.7922 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.7901, allocations: 0 / 0.7922 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.7902, allocations: 17.39 kB / 0.7922 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.7903, allocations: 24.09 kB / 0.7923 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.7903, allocations: 5.25 kB / 0.7923 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001035/0.7904, allocations: 151.6 kB / 0.7924 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7905, allocations: 0 / 0.7924 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003727/0.7908, allocations: 70.92 kB / 0.7925 GB, free: 44.04 MB / 0.6544 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.0005063/0.7913, allocations: 232.6 kB / 0.7927 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.7916, allocations: 104.9 kB / 0.7928 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7916, allocations: 0 / 0.7928 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.7917, allocations: 58.58 kB / 0.7928 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.7921, allocations: 54.8 kB / 0.7929 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.7928, allocations: 345 kB / 0.7932 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.793, allocations: 0.7218 MB / 0.7939 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.793, allocations: 22.41 kB / 0.794 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.793, allocations: 1.125 kB / 0.794 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.006717/0.7997, allocations: 3.644 MB / 0.7975 GB, free: 42.74 MB / 0.6544 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++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.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