Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 100.2 kB / 16.27 MB, free: 6.414 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.001232/0.001232, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8604/0.8604, allocations: 135.2 MB / 426.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2987, allocations: 80.93 MB / 0.5851 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001929/0.3007, allocations: 1.258 MB / 0.5863 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007639/0.3015, allocations: 0.7312 MB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.3015, allocations: 0 / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.3015, allocations: 6.531 kB / 0.587 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.3017, allocations: 18.5 kB / 0.587 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3019, allocations: 42.22 kB / 0.5871 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.302, allocations: 25.08 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.302, allocations: 5.094 kB / 0.5871 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.302, allocations: 17.16 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3022, allocations: 4.812 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3022, allocations: 0.9062 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.3022, allocations: 9.328 kB / 0.5871 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.3023, allocations: 15.17 kB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.3023, allocations: 3.875 kB / 0.5871 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.3024, allocations: 29.62 kB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3024, allocations: 5.281 kB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3024, allocations: 1.062 kB / 0.5872 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3024, allocations: 0 / 0.5872 GB, free: 23.66 MB / 446.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.0002133/0.3026, allocations: 327 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.3027, allocations: 10.8 kB / 0.5875 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.3027, allocations: 77.69 kB / 0.5876 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.718e-05/0.3028, allocations: 249.7 kB / 0.5878 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3028, allocations: 153.7 kB / 0.588 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3029, allocations: 152.4 kB / 0.5881 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.286e-05/0.3029, allocations: 102 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3029, allocations: 83.25 kB / 0.5883 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3029, allocations: 154.5 kB / 0.5884 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.303, allocations: 150.6 kB / 0.5886 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.303, allocations: 156.6 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3032, allocations: 453.8 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.3032, allocations: 167.5 kB / 0.5893 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.3032, allocations: 82.52 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.3032, allocations: 75.28 kB / 0.5895 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3032, allocations: 112.4 kB / 0.5896 GB, free: 21.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3033, allocations: 0 / 0.5896 GB, free: 21.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.35e-05/0.3033, allocations: 35.27 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.3033, allocations: 133.6 kB / 0.5897 GB, free: 20.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.3034, allocations: 104.6 kB / 0.5898 GB, free: 20.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.3034, allocations: 31.27 kB / 0.5899 GB, free: 20.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.09e-05/0.3035, allocations: 85.88 kB / 0.5899 GB, free: 20.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.3035, allocations: 0 / 0.5899 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3035, allocations: 20.86 kB / 0.59 GB, free: 20.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.3035, allocations: 316.3 kB / 0.5903 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.523e-05/0.3036, allocations: 6.203 kB / 0.5903 GB, free: 20.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.671e-05/0.3036, allocations: 6.625 kB / 0.5903 GB, free: 20.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.3036, allocations: 18.14 kB / 0.5903 GB, free: 20.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3036, allocations: 0 / 0.5903 GB, free: 20.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.994e-05/0.3037, allocations: 46.47 kB / 0.5903 GB, free: 20.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3038, allocations: 5.125 kB / 0.5903 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3038, allocations: 3.938 kB / 0.5904 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3038, allocations: 1.156 kB / 0.5904 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3038, allocations: 0 / 0.5904 GB, free: 20.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3038, allocations: 5.234 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.341e-05/0.3039, allocations: 6.609 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3039, allocations: 1.094 kB / 0.5904 GB, free: 20.27 MB / 446.1 MB 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 4.88e-05/0.3039, allocations: 184.7 kB / 0.5905 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.304, allocations: 114.5 kB / 0.5906 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.304, allocations: 110.3 kB / 0.5908 GB, free: 19.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.304, allocations: 191.4 kB / 0.5909 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/0.3041, allocations: 181.4 kB / 0.5911 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.3041, allocations: 178.4 kB / 0.5913 GB, free: 19.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3042, allocations: 408.9 kB / 0.5917 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.3042, allocations: 101.9 kB / 0.5918 GB, free: 18.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.3043, allocations: 106.4 kB / 0.5919 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/0.3043, allocations: 184.2 kB / 0.592 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3043, allocations: 184.2 kB / 0.5922 GB, free: 18.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-05/0.3043, allocations: 181.7 kB / 0.5924 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-05/0.3043, allocations: 182.9 kB / 0.5926 GB, free: 17.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.316e-05/0.3044, allocations: 300.5 kB / 0.5929 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.3044, allocations: 185.1 kB / 0.593 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3045, allocations: 197.5 kB / 0.5932 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.971e-05/0.3045, allocations: 104 kB / 0.5933 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.3046, allocations: 181.7 kB / 0.5935 GB, free: 16.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3046, allocations: 101 kB / 0.5936 GB, free: 16.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.504e-05/0.3046, allocations: 95.73 kB / 0.5937 GB, free: 16.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3046, allocations: 0 / 0.5937 GB, free: 16.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.3049, allocations: 4.219 kB / 0.5937 GB, free: 16.7 MB / 446.1 MB 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.0002028/0.3051, allocations: 183.1 kB / 0.5939 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.3051, allocations: 5.875 kB / 0.5939 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3051, allocations: 0 / 0.5939 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.3052, allocations: 7.938 kB / 0.5939 GB, free: 16.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.3054, allocations: 460.7 kB / 0.5943 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.3056, allocations: 190.1 kB / 0.5945 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.3057, allocations: 0.6765 MB / 0.5952 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.3057, allocations: 11.25 kB / 0.5952 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3057, allocations: 0 / 0.5952 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.001748/0.3075, allocations: 0.5196 MB / 0.5957 GB, free: 14.93 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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-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.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.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.GetTimeSpanTMY3CalcHelperMain.o] Error 1