Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 212.6 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.851/0.851, allocations: 134 MB / 447.2 MB, free: 10.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 74.86 kB / 0.6198 GB, free: 6.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1689, allocations: 85.9 MB / 0.7037 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.00331/0.1722, allocations: 1.641 MB / 0.7053 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1736, allocations: 0.7089 MB / 0.706 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1737, allocations: 7.938 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1739, allocations: 15.81 kB / 0.706 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.1741, allocations: 43.75 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.1746, allocations: 127.7 kB / 0.7061 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.1749, allocations: 187.6 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.175, allocations: 25.62 kB / 0.7063 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.1753, allocations: 83.81 kB / 0.7064 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1754, allocations: 95.59 kB / 0.7065 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.1755, allocations: 12 kB / 0.7065 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.1756, allocations: 35.98 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1757, allocations: 35.91 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1758, allocations: 75.66 kB / 0.7067 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.176, allocations: 175.3 kB / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.176, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.176, allocations: 0 / 0.7068 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1761, allocations: 4 kB / 0.7068 GB, free: 13.6 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007573/0.1768, allocations: 496.4 kB / 0.7073 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1768, allocations: 11.97 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.177, allocations: 28.83 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.1774, allocations: 178.4 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1774, allocations: 12.38 kB / 0.7075 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.1775, allocations: 16.38 kB / 0.7075 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.1778, allocations: 113.7 kB / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1778, allocations: 0 / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1778, allocations: 4 kB / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1778, allocations: 0 / 0.7077 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.178, allocations: 75.88 kB / 0.7077 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.1787, allocations: 391.6 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1789, allocations: 82.56 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.179, allocations: 72.8 kB / 0.7083 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1791, allocations: 0 / 0.7083 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1793, allocations: 182.7 kB / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1794, allocations: 0 / 0.7084 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0007607/0.1801, allocations: 356.9 kB / 0.7088 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.1802, allocations: 166.2 kB / 0.7089 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1804, allocations: 176.8 kB / 0.7091 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.1804, allocations: 29.7 kB / 0.7091 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.1805, allocations: 116.3 kB / 0.7092 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1806, allocations: 27.78 kB / 0.7093 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.568e-05/0.1806, allocations: 41.72 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1808, allocations: 330.8 kB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1809, allocations: 51.91 kB / 0.7097 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.1811, allocations: 106.8 kB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.1815, allocations: 313 kB / 0.7101 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1815, allocations: 0 / 0.7101 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005787/0.1821, allocations: 348.3 kB / 0.7104 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/0.1822, allocations: 122.9 kB / 0.7105 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1822, allocations: 4 kB / 0.7105 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1822, allocations: 0 / 0.7105 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1823, allocations: 19.98 kB / 0.7105 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1823, allocations: 3.938 kB / 0.7105 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.1824, allocations: 15.89 kB / 0.7106 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1825, allocations: 15.98 kB / 0.7106 GB, free: 9.375 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001784/0.1826, allocations: 197.2 kB / 0.7108 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1827, allocations: 23.91 kB / 0.7108 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.1827, allocations: 13.41 kB / 0.7108 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1827, allocations: 7.984 kB / 0.7108 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1827, allocations: 4 kB / 0.7108 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1827, allocations: 0 / 0.7108 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.1835, allocations: 0.5557 MB / 0.7113 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1835, allocations: 0 / 0.7113 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.613e-05/0.1836, allocations: 15.92 kB / 0.7114 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1836, allocations: 7.938 kB / 0.7114 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1836, allocations: 11.98 kB / 0.7114 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1836, allocations: 0 / 0.7114 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.1836, allocations: 7.938 kB / 0.7114 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.1842, allocations: 402.7 kB / 0.7118 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.1842, allocations: 11.91 kB / 0.7118 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.1843, allocations: 4 kB / 0.7118 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1844, allocations: 15.92 kB / 0.7118 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.1844, allocations: 11.94 kB / 0.7118 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1845, allocations: 7.984 kB / 0.7118 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000115/0.1846, allocations: 133.2 kB / 0.712 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1846, allocations: 4 kB / 0.712 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003145/0.1849, allocations: 39.92 kB / 0.712 GB, free: 7.805 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0002532/0.1852, allocations: 122.6 kB / 0.7121 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.1857, allocations: 361.4 kB / 0.7125 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1857, allocations: 0 / 0.7125 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.1859, allocations: 175.3 kB / 0.7126 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1863, allocations: 35.23 kB / 0.7127 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.1869, allocations: 329.7 kB / 0.713 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1873, allocations: 0.7084 MB / 0.7137 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.1873, allocations: 23.36 kB / 0.7137 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/0.1873, allocations: 4 kB / 0.7137 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of Templates: time 0.004827/0.1921, allocations: 2.173 MB / 0.7158 GB, free: 3.785 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.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/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:6: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterFree.c:25:16: error: assigning to 'char *' from incompatible type 'void *' origString = malloc(fsize + 1); ^~~~~~~~~~~~~~~~~ In file included from OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterFunctions.cpp:7: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterInit.c:12: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:26:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:27:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = malloc(sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:39:23: error: assigning to 'char **' from incompatible type 'void *' FileWriterNames = realloc(FileWriterNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:40:21: error: assigning to 'char **' from incompatible type 'void *' InstanceNames = realloc(InstanceNames, (FileWriterNames_n+1) * sizeof(char*)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:45:40: error: assigning to 'char *' from incompatible type 'void *' FileWriterNames[FileWriterNames_n] = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:46:38: error: assigning to 'char *' from incompatible type 'void *' InstanceNames[FileWriterNames_n] = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:58:24: error: assigning to 'char *' from incompatible type 'void *' ID->fileWriterName = malloc((strlen(fileName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources/fileWriterStructure.c:63:22: error: assigning to 'char *' from incompatible type 'void *' ID->instanceName = malloc((strlen(instanceName)+1) * sizeof(char)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 errors generated. make: *** [: OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.038564985850826] Failed to read output from testmodel.py, exit status != 0: 0.2000756049528718 0.21609134999999996 0.036895553000000005 Calling exit ...