Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9666/0.9666, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 64.03 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1889, allocations: 80.94 MB / 0.5844 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002385/0.1913, allocations: 1.294 MB / 0.5856 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1923, allocations: 0.7011 MB / 0.5863 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.1924, allocations: 0 / 0.5863 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1924, allocations: 0 / 0.5863 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1926, allocations: 11.98 kB / 0.5863 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.181e-05/0.1927, allocations: 12 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.704e-05/0.1927, allocations: 23.91 kB / 0.5864 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.1928, allocations: 0 / 0.5864 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.916e-05/0.1928, allocations: 7.938 kB / 0.5864 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.193, allocations: 4 kB / 0.5864 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.193, allocations: 0 / 0.5864 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.193, allocations: 15.97 kB / 0.5864 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.1931, allocations: 0 / 0.5864 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.1931, allocations: 4 kB / 0.5864 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.654e-05/0.1932, allocations: 4 kB / 0.5864 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1932, allocations: 4 kB / 0.5864 GB, free: 2.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1932, allocations: 4 kB / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1932, allocations: 0 / 0.5864 GB, free: 2.914 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.0003241/0.1935, allocations: 311.6 kB / 0.5867 GB, free: 2.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1936, allocations: 8.031 kB / 0.5867 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.1936, allocations: 80.16 kB / 0.5868 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1938, allocations: 251.6 kB / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.1939, allocations: 154.9 kB / 0.5872 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.1939, allocations: 154.9 kB / 0.5873 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.194, allocations: 101.5 kB / 0.5874 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/0.1941, allocations: 79.47 kB / 0.5875 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.409e-05/0.1941, allocations: 154.5 kB / 0.5876 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/0.1942, allocations: 154.6 kB / 0.5878 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.1942, allocations: 158.5 kB / 0.5879 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.1945, allocations: 445.9 kB / 0.5884 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.1946, allocations: 165.1 kB / 0.5885 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.1947, allocations: 88.08 kB / 0.5886 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.1947, allocations: 79.28 kB / 0.5887 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.1948, allocations: 109.8 kB / 0.5888 GB, free: 304 kB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1948, allocations: 0 / 0.5888 GB, free: 304 kB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.516e-05/0.1949, allocations: 33.58 kB / 0.5888 GB, free: 264 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1949, allocations: 126.7 kB / 0.5889 GB, free: 124 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.195, allocations: 97.84 kB / 0.589 GB, free: 16 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.1951, allocations: 25.83 kB / 0.589 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.1951, allocations: 88.14 kB / 0.5891 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.1951, allocations: 0 / 0.5891 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.1951, allocations: 13.72 kB / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1953, allocations: 310.8 kB / 0.5894 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/0.1953, allocations: 0 / 0.5894 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.1953, allocations: 4 kB / 0.5894 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.1953, allocations: 75.28 kB / 0.5895 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.993e-05/0.1954, allocations: 75.31 kB / 0.5896 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.413e-05/0.1954, allocations: 37.64 kB / 0.5896 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.1955, allocations: 83.27 kB / 0.5897 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.1955, allocations: 83.27 kB / 0.5898 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.78e-05/0.1956, allocations: 158.5 kB / 0.5899 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-05/0.1956, allocations: 79.28 kB / 0.59 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.72e-05/0.1957, allocations: 150.7 kB / 0.5902 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.1958, allocations: 83.23 kB / 0.5902 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1958, allocations: 83.3 kB / 0.5903 GB, free: 14.66 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 (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 prepare postOptimizeDAE: time 0.0001128/0.196, allocations: 260.7 kB / 0.5906 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.578e-05/0.196, allocations: 104.9 kB / 0.5907 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.1961, allocations: 116 kB / 0.5908 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-05/0.1962, allocations: 180.3 kB / 0.5909 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.932e-05/0.1962, allocations: 184.1 kB / 0.5911 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-05/0.1963, allocations: 180.2 kB / 0.5913 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1965, allocations: 405.2 kB / 0.5917 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.1966, allocations: 101 kB / 0.5918 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.1966, allocations: 109 kB / 0.5919 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-05/0.1967, allocations: 188.2 kB / 0.5921 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.1968, allocations: 180.2 kB / 0.5922 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-05/0.1969, allocations: 184.2 kB / 0.5924 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.708e-05/0.1969, allocations: 176.3 kB / 0.5926 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.1971, allocations: 311.8 kB / 0.5929 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.778e-05/0.1972, allocations: 182.1 kB / 0.593 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.097e-05/0.1973, allocations: 184.1 kB / 0.5932 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.1973, allocations: 109 kB / 0.5933 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1974, allocations: 184.2 kB / 0.5935 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.1975, allocations: 108.9 kB / 0.5936 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.1975, allocations: 79.28 kB / 0.5937 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1975, allocations: 0 / 0.5937 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002713/0.1978, allocations: 4 kB / 0.5937 GB, free: 10.98 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.0003312/0.1981, allocations: 198.4 kB / 0.5939 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 3.851e-05/0.1982, allocations: 0 / 0.5939 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1982, allocations: 4.094 kB / 0.5939 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.1982, allocations: 7.938 kB / 0.5939 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1986, allocations: 0.5224 MB / 0.5944 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.1989, allocations: 180.5 kB / 0.5946 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1991, allocations: 0.6731 MB / 0.5952 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.1992, allocations: 11.44 kB / 0.5952 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1992, allocations: 0 / 0.5952 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.001736/0.2009, allocations: 465.9 kB / 0.5957 GB, free: 8.859 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1