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.001546/0.001546, allocations: 110.1 kB / 16.27 MB, free: 6.352 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.001434/0.001434, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.488/1.488, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.815/1.815, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001622/0.001622, allocations: 62.41 kB / 0.6721 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 114.6 MB / 0.784 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003303/0.2509, allocations: 1.726 MB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2526, allocations: 0.9483 MB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.789e-05/0.2527, allocations: 0 / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.2529, allocations: 35.73 kB / 0.7867 GB, free: 1.195 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.0003835/0.2533, allocations: 115.4 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.2537, allocations: 139.7 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000282/0.254, allocations: 247.4 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2541, allocations: 41.64 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2543, allocations: 111.7 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.2545, allocations: 123.5 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.2546, allocations: 20 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.2548, allocations: 111.9 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.2549, allocations: 47.77 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.255, allocations: 91.56 kB / 0.7877 GB, free: 168 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4117/0.6667, allocations: 277.7 kB / 0.7879 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6668, allocations: 0 / 0.7879 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6668, allocations: 0.8125 kB / 0.7879 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.6668, allocations: 1.906 kB / 0.7879 GB, free: 46.4 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.0008642/0.6677, allocations: 0.5766 MB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6677, allocations: 8.094 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.42e-05/0.6678, allocations: 21.75 kB / 0.7885 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.6681, allocations: 243.7 kB / 0.7888 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.6681, allocations: 9.719 kB / 0.7888 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.6681, allocations: 18.84 kB / 0.7888 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.6683, allocations: 90.14 kB / 0.7889 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6683, allocations: 0 / 0.7889 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.6684, allocations: 0 / 0.7889 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6684, allocations: 3.906 kB / 0.7889 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.6685, allocations: 51.97 kB / 0.7889 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/0.6692, allocations: 468.7 kB / 0.7894 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.6696, allocations: 139.5 kB / 0.7895 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.6696, allocations: 38 kB / 0.7895 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.6697, allocations: 0 / 0.7895 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.6699, allocations: 106.5 kB / 0.7896 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.6699, allocations: 3.375 kB / 0.7896 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0003159/0.6702, allocations: 168.8 kB / 0.7898 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.6703, allocations: 64.92 kB / 0.7899 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.6704, allocations: 192.3 kB / 0.7901 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.6705, allocations: 34.39 kB / 0.7901 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.6705, allocations: 125.5 kB / 0.7902 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.6706, allocations: 35.73 kB / 0.7902 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.6707, allocations: 62.72 kB / 0.7903 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.6707, allocations: 325.5 kB / 0.7906 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.6708, allocations: 37.62 kB / 0.7906 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.671, allocations: 125.7 kB / 0.7908 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.6711, allocations: 107.2 kB / 0.7909 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6711, allocations: 0 / 0.7909 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002104/0.6713, allocations: 160 kB / 0.791 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6714, allocations: 5.25 kB / 0.791 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6714, allocations: 0 / 0.791 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6714, allocations: 3.125 kB / 0.791 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.6715, allocations: 26.08 kB / 0.7911 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.6715, allocations: 5.25 kB / 0.7911 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.6717, allocations: 20.27 kB / 0.7911 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.6717, allocations: 10.59 kB / 0.7911 GB, free: 44.48 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 0.0001051/0.6718, allocations: 149.8 kB / 0.7912 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.6719, allocations: 16.66 kB / 0.7912 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.6719, allocations: 20.56 kB / 0.7913 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6719, allocations: 4.625 kB / 0.7913 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6719, allocations: 0 / 0.7913 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6719, allocations: 0 / 0.7913 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005151/0.6725, allocations: 0.4907 MB / 0.7917 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6725, allocations: 1.719 kB / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.6725, allocations: 5.25 kB / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6725, allocations: 0 / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.6725, allocations: 0 / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6725, allocations: 5.969 kB / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6725, allocations: 0.7969 kB / 0.7918 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.6727, allocations: 238.7 kB / 0.792 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.6728, allocations: 90.59 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6728, allocations: 2.625 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6729, allocations: 12.42 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.673, allocations: 30.14 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.673, allocations: 5.812 kB / 0.7921 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001009/0.6731, allocations: 150.5 kB / 0.7923 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6731, allocations: 0 / 0.7923 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003652/0.6735, allocations: 76.42 kB / 0.7923 GB, free: 43.71 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.0004469/0.674, allocations: 226.7 kB / 0.7926 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.6742, allocations: 111.6 kB / 0.7927 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6742, allocations: 0.9062 kB / 0.7927 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.6743, allocations: 48.67 kB / 0.7927 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.6747, allocations: 62.36 kB / 0.7928 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.6753, allocations: 343.2 kB / 0.7931 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.6755, allocations: 0.7245 MB / 0.7938 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.6756, allocations: 24.27 kB / 0.7938 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.834e-06/0.6756, allocations: 0 / 0.7938 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.005424/0.681, allocations: 3.664 MB / 0.7974 GB, free: 42.43 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