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.001545/0.001545, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001646/0.001646, allocations: 189.8 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.727/1.727, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.861/1.861, allocations: 292.3 MB / 0.5495 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.001487/0.001487, allocations: 71.84 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2871, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.004105/0.2913, allocations: 1.628 MB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2926, allocations: 0.5733 MB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2927, allocations: 4 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.293, allocations: 19.73 kB / 0.7862 GB, free: 1.633 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.0005125/0.2935, allocations: 115.5 kB / 0.7863 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.294, allocations: 149 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.2944, allocations: 215.5 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2945, allocations: 17.56 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.2947, allocations: 103.7 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/0.295, allocations: 119.5 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.19e-05/0.295, allocations: 16 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.2953, allocations: 119.8 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.516e-05/0.2954, allocations: 31.91 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2955, allocations: 87.56 kB / 0.7871 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.296, allocations: 263.5 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.296, allocations: 0 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.296, allocations: 4 kB / 0.7874 GB, free: 424 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.2961, allocations: 0 / 0.7874 GB, free: 424 kB / 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.4422/0.7383, allocations: 0.5357 MB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7383, allocations: 10.12 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.7384, allocations: 19.62 kB / 0.7879 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.7387, allocations: 231.5 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.7387, allocations: 13.44 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.7388, allocations: 10.78 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.7389, allocations: 85.08 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.739, allocations: 0 / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.739, allocations: 3.938 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.739, allocations: 2.625 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.7391, allocations: 48.8 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.7398, allocations: 446.2 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.7399, allocations: 64.67 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.74, allocations: 31.92 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.74, allocations: 0.5938 kB / 0.7888 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.7402, allocations: 95.39 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.7402, allocations: 3.375 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0002774/0.7405, allocations: 127.3 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.7406, allocations: 54.34 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.7407, allocations: 190.9 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.7408, allocations: 33.23 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.7408, allocations: 111.4 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.7409, allocations: 30.98 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-05/0.741, allocations: 52.81 kB / 0.7895 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.741, allocations: 333.9 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.7411, allocations: 29.8 kB / 0.7898 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.7413, allocations: 116.7 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.7414, allocations: 88.8 kB / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7414, allocations: 0 / 0.79 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001836/0.7416, allocations: 142.1 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7416, allocations: 5.25 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7416, allocations: 5.766 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7416, allocations: 2.625 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.7417, allocations: 11.95 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7417, allocations: 5.812 kB / 0.7902 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.7419, allocations: 24.62 kB / 0.7902 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.7419, allocations: 9.188 kB / 0.7902 GB, free: 47.23 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 9.093e-05/0.742, allocations: 130.3 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.742, allocations: 15.69 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.7421, allocations: 18.8 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7421, allocations: 7.469 kB / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7421, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.7421, allocations: 0 / 0.7904 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.7425, allocations: 437.8 kB / 0.7908 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7425, allocations: 0 / 0.7908 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.7426, allocations: 4.5 kB / 0.7908 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7426, allocations: 1.156 kB / 0.7908 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.7426, allocations: 6.562 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.7426, allocations: 2.297 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7426, allocations: 0.5 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.7428, allocations: 201.8 kB / 0.791 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.7428, allocations: 93.83 kB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.7429, allocations: 8.75 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.743, allocations: 7.797 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.743, allocations: 17.36 kB / 0.7911 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.7431, allocations: 13.06 kB / 0.7912 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.7432, allocations: 134.2 kB / 0.7913 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7432, allocations: 0 / 0.7913 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003524/0.7435, allocations: 71.31 kB / 0.7914 GB, free: 46.48 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.00046/0.744, allocations: 229.9 kB / 0.7916 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.7442, allocations: 90.7 kB / 0.7917 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7442, allocations: 3.906 kB / 0.7917 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.7443, allocations: 34.73 kB / 0.7917 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.7447, allocations: 44.86 kB / 0.7917 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.7452, allocations: 296.9 kB / 0.792 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.7454, allocations: 0.7151 MB / 0.7927 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.7455, allocations: 23.66 kB / 0.7927 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7455, allocations: 0 / 0.7927 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.005446/0.7509, allocations: 3.362 MB / 0.796 GB, free: 45.25 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