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.001842/0.001842, allocations: 105.3 kB / 16.36 MB, free: 6.301 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.002229/0.002229, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.535/1.535, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.002297/0.002297, allocations: 70.25 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2554, allocations: 114.5 MB / 0.7848 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004179/0.2597, allocations: 1.738 MB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.2616, allocations: 0.9444 MB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.2618, allocations: 4 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.2621, allocations: 27.67 kB / 0.7874 GB, free: 496 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.0005641/0.2627, allocations: 123.4 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.2632, allocations: 151.7 kB / 0.7877 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5253/0.7885, allocations: 235.8 kB / 0.7879 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.7889, allocations: 38.31 kB / 0.7879 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.7892, allocations: 108.8 kB / 0.788 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.7894, allocations: 127.7 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.7895, allocations: 23.19 kB / 0.7882 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003613/0.7899, allocations: 140.9 kB / 0.7883 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.79, allocations: 42.42 kB / 0.7884 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.7901, allocations: 88.41 kB / 0.7884 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.7905, allocations: 294.2 kB / 0.7887 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7906, allocations: 0 / 0.7887 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7906, allocations: 0 / 0.7887 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7906, allocations: 0 / 0.7887 GB, free: 46.35 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.0008591/0.7914, allocations: 0.5793 MB / 0.7893 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.7915, allocations: 11.44 kB / 0.7893 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.7916, allocations: 25.19 kB / 0.7893 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.7919, allocations: 239.1 kB / 0.7896 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.7919, allocations: 12.19 kB / 0.7896 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.7919, allocations: 16.69 kB / 0.7896 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.7921, allocations: 116.2 kB / 0.7897 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.7922, allocations: 2.25 kB / 0.7897 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.7922, allocations: 5.344 kB / 0.7897 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.7922, allocations: 3.219 kB / 0.7897 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.7923, allocations: 51.03 kB / 0.7898 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.7931, allocations: 0.5366 MB / 0.7903 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.7933, allocations: 104.9 kB / 0.7904 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.7933, allocations: 38.61 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.7934, allocations: 4.062 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.7936, allocations: 128.6 kB / 0.7905 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.7936, allocations: 0.5 kB / 0.7905 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003535/0.7939, allocations: 168.2 kB / 0.7907 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.794, allocations: 79.61 kB / 0.7908 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.7942, allocations: 197.7 kB / 0.791 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.7942, allocations: 37.27 kB / 0.791 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.7943, allocations: 117.4 kB / 0.7911 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.7944, allocations: 38.8 kB / 0.7912 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.7945, allocations: 57.75 kB / 0.7912 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.7945, allocations: 330.8 kB / 0.7915 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.7946, allocations: 34.06 kB / 0.7916 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.7948, allocations: 136.5 kB / 0.7917 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.795, allocations: 113.9 kB / 0.7918 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.795, allocations: 3.938 kB / 0.7918 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002226/0.7952, allocations: 167.4 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.7952, allocations: 5.844 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7952, allocations: 7.188 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7953, allocations: 2.625 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.183e-05/0.7954, allocations: 18.22 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7954, allocations: 4.281 kB / 0.792 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.7956, allocations: 28.33 kB / 0.792 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.7956, allocations: 9.906 kB / 0.792 GB, free: 44.2 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.000125/0.7957, allocations: 140.5 kB / 0.7922 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.7958, allocations: 21.39 kB / 0.7922 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.7958, allocations: 19.28 kB / 0.7922 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7958, allocations: 2.625 kB / 0.7922 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.7959, allocations: 2.875 kB / 0.7922 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.7959, allocations: 3.281 kB / 0.7922 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.7964, allocations: 464.6 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7964, allocations: 3.094 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.7964, allocations: 8.344 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7965, allocations: 2.75 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.7965, allocations: 6.562 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7965, allocations: 0 / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7965, allocations: 2.625 kB / 0.7927 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.7967, allocations: 231.7 kB / 0.7929 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.7967, allocations: 97.7 kB / 0.793 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.7967, allocations: 2.25 kB / 0.793 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7969, allocations: 16.84 kB / 0.793 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.7969, allocations: 24.3 kB / 0.793 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.797, allocations: 5.938 kB / 0.793 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001002/0.7971, allocations: 144.3 kB / 0.7932 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7971, allocations: 0.9062 kB / 0.7932 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000341/0.7974, allocations: 78.14 kB / 0.7933 GB, free: 43.42 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.0004959/0.7979, allocations: 228.1 kB / 0.7935 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.7982, allocations: 108.4 kB / 0.7936 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7982, allocations: 0 / 0.7936 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.7983, allocations: 53.17 kB / 0.7936 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.7987, allocations: 62.59 kB / 0.7937 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.7994, allocations: 330.2 kB / 0.794 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.7995, allocations: 0.7238 MB / 0.7947 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.7996, allocations: 24.73 kB / 0.7947 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7996, allocations: 0 / 0.7947 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.006828/0.8064, allocations: 3.637 MB / 0.7983 GB, free: 42.13 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