Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006158/0.006159, allocations: 101.1 kB / 15.88 MB, free: 6.332 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.001284/0.001284, allocations: 195.9 kB / 16.79 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9915/0.9915, allocations: 135.1 MB / 425.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.42 kB / 0.5053 GB, free: 5.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1742, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002307/0.1765, allocations: 1.329 MB / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009778/0.1775, allocations: 0.7206 MB / 0.5863 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.663e-05/0.1775, allocations: 3.938 kB / 0.5864 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.1776, allocations: 0 / 0.5864 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1778, allocations: 11.98 kB / 0.5864 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.178, allocations: 47.25 kB / 0.5864 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.178, allocations: 31.91 kB / 0.5864 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.1781, allocations: 4 kB / 0.5864 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.1781, allocations: 19.94 kB / 0.5865 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.1783, allocations: 15.91 kB / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1783, allocations: 0 / 0.5865 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.1784, allocations: 8 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.337e-05/0.1784, allocations: 7.969 kB / 0.5865 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.1784, allocations: 11.94 kB / 0.5865 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.85e-05/0.1785, allocations: 11.98 kB / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1785, allocations: 0 / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1785, allocations: 0 / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1785, allocations: 0 / 0.5865 GB, free: 2.742 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003198/0.1789, allocations: 335.7 kB / 0.5868 GB, free: 2.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1789, allocations: 8.031 kB / 0.5868 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.179, allocations: 80.22 kB / 0.5869 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.1791, allocations: 235.7 kB / 0.5871 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.1792, allocations: 150.9 kB / 0.5873 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.1792, allocations: 158.9 kB / 0.5874 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.204e-05/0.1793, allocations: 109.5 kB / 0.5875 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.1793, allocations: 75.47 kB / 0.5876 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.1794, allocations: 154.5 kB / 0.5878 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.38e-05/0.1794, allocations: 150.6 kB / 0.5879 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.949e-05/0.1795, allocations: 150.6 kB / 0.588 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1798, allocations: 461.9 kB / 0.5885 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.1799, allocations: 173.1 kB / 0.5887 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.1799, allocations: 80.14 kB / 0.5887 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1799, allocations: 75.28 kB / 0.5888 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.18, allocations: 105.8 kB / 0.5889 GB, free: 120 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.18, allocations: 4 kB / 0.5889 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.602e-05/0.18, allocations: 37.59 kB / 0.5889 GB, free: 72 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.1801, allocations: 134.6 kB / 0.5891 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1802, allocations: 105.8 kB / 0.5892 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1803, allocations: 25.7 kB / 0.5892 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.1803, allocations: 84.14 kB / 0.5893 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1803, allocations: 0 / 0.5893 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1804, allocations: 17.7 kB / 0.5893 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1805, allocations: 318.8 kB / 0.5896 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.1805, allocations: 0 / 0.5896 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.1805, allocations: 15.98 kB / 0.5896 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.1806, allocations: 12.86 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1806, allocations: 3.938 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.1807, allocations: 49.56 kB / 0.5897 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1807, allocations: 6.188 kB / 0.5897 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1807, allocations: 3.938 kB / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1807, allocations: 4.375 kB / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1807, allocations: 0 / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1808, allocations: 4 kB / 0.5897 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.1809, allocations: 4 kB / 0.5897 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1809, allocations: 0 / 0.5897 GB, free: 15.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.454e-05/0.181, allocations: 193.1 kB / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1811, allocations: 104.9 kB / 0.59 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.1811, allocations: 116.4 kB / 0.5901 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/0.1812, allocations: 180.3 kB / 0.5903 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.738e-05/0.1812, allocations: 180.2 kB / 0.5904 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/0.1813, allocations: 184.3 kB / 0.5906 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1815, allocations: 405.2 kB / 0.591 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.1816, allocations: 104.9 kB / 0.5911 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.1816, allocations: 109 kB / 0.5912 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.176e-05/0.1817, allocations: 180.3 kB / 0.5914 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.1817, allocations: 184.1 kB / 0.5916 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-05/0.1818, allocations: 176.3 kB / 0.5917 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.882e-05/0.1819, allocations: 184.2 kB / 0.5919 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.182, allocations: 307.8 kB / 0.5922 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.72e-05/0.1821, allocations: 190.1 kB / 0.5924 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.1822, allocations: 184.2 kB / 0.5925 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.1823, allocations: 104.9 kB / 0.5926 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.1824, allocations: 188.3 kB / 0.5928 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.1824, allocations: 104.9 kB / 0.5929 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.1824, allocations: 83.27 kB / 0.593 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1824, allocations: 0 / 0.593 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002203/0.1827, allocations: 4 kB / 0.593 GB, free: 11.62 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002393/0.1829, allocations: 190.5 kB / 0.5932 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.183, allocations: 12 kB / 0.5932 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.183, allocations: 4 kB / 0.5932 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-06/0.183, allocations: 0 / 0.5932 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1834, allocations: 0.5185 MB / 0.5937 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.1836, allocations: 204.5 kB / 0.5939 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1839, allocations: 0.6809 MB / 0.5946 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/0.1839, allocations: 7.438 kB / 0.5946 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1839, allocations: 0 / 0.5946 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of Templates: time 0.001767/0.1857, allocations: 0.5082 MB / 0.5951 GB, free: 9.434 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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/IDEAS 3.0.0-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1