Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 103.2 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.00128/0.00128, 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.61/1.61, 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.92/1.92, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001985/0.001985, allocations: 67.91 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2886, allocations: 114.5 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003354/0.292, allocations: 1.64 MB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2932, allocations: 0.5694 MB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.2933, allocations: 0 / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.2935, allocations: 27.72 kB / 0.787 GB, free: 0.8945 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.0004025/0.2939, allocations: 115.4 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.2943, allocations: 147.7 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.2946, allocations: 211.5 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2947, allocations: 21.55 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2949, allocations: 107.6 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2951, allocations: 115.6 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2951, allocations: 12 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.2954, allocations: 139.8 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.2954, allocations: 31.91 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4651/0.7605, allocations: 78.14 kB / 0.7879 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.7612, allocations: 271.5 kB / 0.7881 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7613, allocations: 3.938 kB / 0.7882 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7613, allocations: 0 / 0.7882 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.7613, allocations: 0 / 0.7882 GB, free: 46.79 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009327/0.7622, allocations: 0.5383 MB / 0.7887 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.7623, allocations: 9 kB / 0.7887 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.7625, allocations: 20.56 kB / 0.7887 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.7629, allocations: 237.2 kB / 0.7889 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.7629, allocations: 5.812 kB / 0.7889 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.763, allocations: 20 kB / 0.789 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.7632, allocations: 81.73 kB / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.7633, allocations: 0 / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.7633, allocations: 4.406 kB / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.7633, allocations: 6.562 kB / 0.789 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.7634, allocations: 44.81 kB / 0.7891 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.7644, allocations: 444 kB / 0.7895 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.7646, allocations: 67.7 kB / 0.7896 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.7647, allocations: 36.48 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7647, allocations: 0.5938 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.765, allocations: 86.89 kB / 0.7897 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 2.175e-06/0.765, allocations: 1.656 kB / 0.7897 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0003833/0.7654, allocations: 129.9 kB / 0.7898 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.7654, allocations: 61.86 kB / 0.7899 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.7657, allocations: 185.9 kB / 0.7901 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.7657, allocations: 35.08 kB / 0.7901 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.7658, allocations: 113 kB / 0.7902 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.7659, allocations: 31.08 kB / 0.7902 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.766, allocations: 48.58 kB / 0.7903 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.766, allocations: 330.5 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.7661, allocations: 32.34 kB / 0.7906 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.7663, allocations: 122.3 kB / 0.7907 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.7665, allocations: 83.36 kB / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7665, allocations: 0 / 0.7908 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002171/0.7667, allocations: 137.7 kB / 0.7909 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7667, allocations: 8.578 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7667, allocations: 0.5625 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7667, allocations: 6.438 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.7668, allocations: 15.31 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7669, allocations: 2.969 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.7671, allocations: 21.61 kB / 0.791 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.7671, allocations: 3.812 kB / 0.791 GB, free: 44.89 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001119/0.7672, allocations: 133.9 kB / 0.7911 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.7672, allocations: 20.62 kB / 0.7912 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.7673, allocations: 19.11 kB / 0.7912 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.7673, allocations: 6.375 kB / 0.7912 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7673, allocations: 0 / 0.7912 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7673, allocations: 1.312 kB / 0.7912 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.7678, allocations: 439.4 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7678, allocations: 1.375 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.7678, allocations: 2.625 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.7678, allocations: 0 / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7678, allocations: 7.406 kB / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7678, allocations: 0 / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7678, allocations: 0 / 0.7916 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.768, allocations: 209.9 kB / 0.7918 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.768, allocations: 101.7 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.7681, allocations: 0.625 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.7682, allocations: 10.19 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.7682, allocations: 13.23 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.7683, allocations: 9 kB / 0.7919 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.875e-05/0.7684, allocations: 133.2 kB / 0.7921 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7684, allocations: 3.469 kB / 0.7921 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003426/0.7687, allocations: 64.41 kB / 0.7921 GB, free: 44.12 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004948/0.7692, allocations: 229.9 kB / 0.7923 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.7694, allocations: 84.56 kB / 0.7924 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7694, allocations: 1.797 kB / 0.7924 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.7696, allocations: 41.36 kB / 0.7925 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.77, allocations: 47.22 kB / 0.7925 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.7705, allocations: 295.5 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.7707, allocations: 0.7117 MB / 0.7935 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.7708, allocations: 25.77 kB / 0.7935 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7708, allocations: 4.938 kB / 0.7935 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.005454/0.7762, allocations: 3.354 MB / 0.7968 GB, free: 42.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOnCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOnCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOnCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOnFunctions.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.PlotterActivationAlwaysOnCalcHelperMain.o] Error 1