Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 112.5 kB / 15.99 MB, free: 5.914 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.001081/0.001082, allocations: 192 kB / 16.91 MB, free: 5.758 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.433/1.433, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.772/1.772, allocations: 292.3 MB / 0.5492 GB, free: 17.61 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.001353/0.001353, allocations: 64.47 kB / 0.6716 GB, free: 6.961 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.228, allocations: 114.6 MB / 0.7835 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003173/0.2312, allocations: 1.896 MB / 0.7854 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2327, allocations: 0.9757 MB / 0.7863 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.2328, allocations: 3.938 kB / 0.7863 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.233, allocations: 23.8 kB / 0.7863 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2333, allocations: 103.6 kB / 0.7864 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.2337, allocations: 131.8 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.2339, allocations: 239.4 kB / 0.7868 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2341, allocations: 41.66 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2342, allocations: 123.5 kB / 0.7869 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3965/0.6307, allocations: 1.958 MB / 0.7889 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.6309, allocations: 24.06 kB / 0.7889 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.631, allocations: 38.17 kB / 0.7889 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.404e-05/0.6311, allocations: 40.62 kB / 0.789 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.6312, allocations: 103.9 kB / 0.789 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.6315, allocations: 143.2 kB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6315, allocations: 0.5625 kB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6315, allocations: 2.625 kB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6315, allocations: 0 / 0.7892 GB, free: 46.55 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.0007412/0.6322, allocations: 0.5534 MB / 0.7897 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6323, allocations: 15.25 kB / 0.7897 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.6324, allocations: 22.62 kB / 0.7898 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.6326, allocations: 245.4 kB / 0.79 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.6326, allocations: 6 kB / 0.79 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.6327, allocations: 19.66 kB / 0.79 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.6329, allocations: 114.7 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6329, allocations: 0 / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.6329, allocations: 1.375 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6329, allocations: 3.25 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.633, allocations: 55.84 kB / 0.7902 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.6338, allocations: 0.541 MB / 0.7907 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.634, allocations: 105.9 kB / 0.7908 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.634, allocations: 37.58 kB / 0.7909 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.6341, allocations: 1.406 kB / 0.7909 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.6343, allocations: 128.1 kB / 0.791 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.6343, allocations: 2.625 kB / 0.791 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0003179/0.6346, allocations: 161.7 kB / 0.7911 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.6346, allocations: 83.11 kB / 0.7912 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6348, allocations: 206.4 kB / 0.7914 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.6348, allocations: 36.27 kB / 0.7914 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.6349, allocations: 119.2 kB / 0.7916 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.6349, allocations: 33.83 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.726e-05/0.635, allocations: 59.89 kB / 0.7917 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.6351, allocations: 330.7 kB / 0.792 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.6352, allocations: 29.34 kB / 0.792 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.6354, allocations: 138.5 kB / 0.7921 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.6355, allocations: 113.1 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6355, allocations: 8.5 kB / 0.7922 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002216/0.6357, allocations: 153.8 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.6358, allocations: 9.844 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6358, allocations: 2.531 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6358, allocations: 5.25 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.6359, allocations: 22.28 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.6359, allocations: 4.406 kB / 0.7924 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.6361, allocations: 27.55 kB / 0.7925 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.6361, allocations: 11.81 kB / 0.7925 GB, free: 44.43 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.0001022/0.6363, allocations: 137.9 kB / 0.7926 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.6363, allocations: 19.62 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.6363, allocations: 21.94 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6363, allocations: 0.625 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6364, allocations: 6.531 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6364, allocations: 3.422 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.6368, allocations: 469.5 kB / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6369, allocations: 0 / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.6369, allocations: 4.781 kB / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.6369, allocations: 3.375 kB / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6369, allocations: 1 kB / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6369, allocations: 11.84 kB / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6369, allocations: 0 / 0.7931 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.6371, allocations: 234.3 kB / 0.7933 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.6372, allocations: 91.2 kB / 0.7934 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.6372, allocations: 6 kB / 0.7934 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.6373, allocations: 12.8 kB / 0.7934 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.6374, allocations: 26.95 kB / 0.7935 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.6374, allocations: 11.44 kB / 0.7935 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.59e-05/0.6375, allocations: 144.5 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6375, allocations: 3.562 kB / 0.7936 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003272/0.6379, allocations: 50.28 kB / 0.7937 GB, free: 43.65 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.0002947/0.6382, allocations: 164.5 kB / 0.7938 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.6384, allocations: 107.1 kB / 0.7939 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6384, allocations: 4.188 kB / 0.7939 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.6385, allocations: 54.05 kB / 0.794 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.6389, allocations: 60.25 kB / 0.794 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.6394, allocations: 368.8 kB / 0.7944 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.6396, allocations: 0.7222 MB / 0.7951 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.6396, allocations: 23.69 kB / 0.7951 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of SimCode: time 3.7e-07/0.6397, allocations: 0 / 0.7951 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.00554/0.6452, allocations: 3.198 MB / 0.7982 GB, free: 42.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile clang++ -std=c++14 -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.PlotterActivationLocalInputFirstOffCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOffFunctions.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.PlotterActivationLocalInputFirstOffCalcHelperMain.o] Error 1