Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.617/1.617, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 187.5 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008748/0.0008749, allocations: 90.36 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 10.16 kB / 0.797 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 106.3 MB / 0.9008 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001289/0.2257, allocations: 0.9762 MB / 0.9018 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.2267, allocations: 0.7044 MB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.2267, allocations: 0 / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.2268, allocations: 3.938 kB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.227, allocations: 11.97 kB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.2272, allocations: 43.94 kB / 0.9025 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.2272, allocations: 19.92 kB / 0.9025 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.2273, allocations: 0 / 0.9025 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.2274, allocations: 19.92 kB / 0.9026 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.2275, allocations: 11.98 kB / 0.9026 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.2275, allocations: 4 kB / 0.9026 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.562e-05/0.2276, allocations: 0 / 0.9026 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.2276, allocations: 11.92 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.2276, allocations: 25.7 kB / 0.9026 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.777e-05/0.2277, allocations: 11.98 kB / 0.9026 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2277, allocations: 0 / 0.9026 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2277, allocations: 0 / 0.9026 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2277, allocations: 0 / 0.9026 GB, free: 62.58 MB / 0.6042 GB 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.0002792/0.228, allocations: 325.6 kB / 0.9029 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.2281, allocations: 16.03 kB / 0.903 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/0.2281, allocations: 79.22 kB / 0.903 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2283, allocations: 250.5 kB / 0.9033 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.2283, allocations: 154.6 kB / 0.9034 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.2283, allocations: 150.6 kB / 0.9036 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.538e-05/0.2284, allocations: 104.9 kB / 0.9037 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2284, allocations: 79.28 kB / 0.9037 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.2284, allocations: 158.5 kB / 0.9039 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.2285, allocations: 154.6 kB / 0.904 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.2285, allocations: 150.6 kB / 0.9042 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.2287, allocations: 457.8 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/0.2288, allocations: 173.1 kB / 0.9048 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.2288, allocations: 80.14 kB / 0.9049 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2289, allocations: 75.28 kB / 0.9049 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.2289, allocations: 105.8 kB / 0.905 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.2289, allocations: 0 / 0.905 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.891e-05/0.229, allocations: 41.64 kB / 0.9051 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.229, allocations: 126.7 kB / 0.9052 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.2291, allocations: 105.8 kB / 0.9053 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.2291, allocations: 25.7 kB / 0.9053 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.2292, allocations: 84.08 kB / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2292, allocations: 0 / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.2292, allocations: 0 / 0.9054 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.2292, allocations: 318.8 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.2293, allocations: 4 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.2293, allocations: 12 kB / 0.9057 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.2293, allocations: 11.94 kB / 0.9057 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2293, allocations: 0 / 0.9057 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.207e-05/0.2294, allocations: 37.7 kB / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2294, allocations: 4 kB / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2295, allocations: 0 / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2295, allocations: 0 / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.2295, allocations: 0 / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2295, allocations: 4.125 kB / 0.9058 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.47e-05/0.2296, allocations: 7.984 kB / 0.9058 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.2296, allocations: 0 / 0.9058 GB, free: 59.13 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.2297, allocations: 193 kB / 0.906 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.2297, allocations: 108.9 kB / 0.9061 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.2298, allocations: 108.5 kB / 0.9062 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.889e-05/0.2298, allocations: 188.2 kB / 0.9063 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/0.2299, allocations: 180.3 kB / 0.9065 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.2299, allocations: 176.3 kB / 0.9067 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2301, allocations: 409.2 kB / 0.9071 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.2301, allocations: 108.9 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.2301, allocations: 104.9 kB / 0.9073 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.435e-05/0.2301, allocations: 184.4 kB / 0.9075 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.2302, allocations: 188.2 kB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.993e-05/0.2302, allocations: 180.3 kB / 0.9078 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.668e-05/0.2303, allocations: 176.3 kB / 0.908 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.768e-05/0.2303, allocations: 311.8 kB / 0.9083 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.2304, allocations: 190 kB / 0.9085 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.2304, allocations: 176.5 kB / 0.9086 GB, free: 56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.2305, allocations: 108.9 kB / 0.9087 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.2306, allocations: 184.2 kB / 0.9089 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.2306, allocations: 105 kB / 0.909 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.2306, allocations: 87.28 kB / 0.9091 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2306, allocations: 0 / 0.9091 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002352/0.2309, allocations: 4 kB / 0.9091 GB, free: 55.5 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/0.2311, allocations: 184.6 kB / 0.9093 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.2312, allocations: 11.94 kB / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2312, allocations: 0 / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.2312, allocations: 4 kB / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2315, allocations: 0.5254 MB / 0.9098 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.2317, allocations: 197.7 kB / 0.91 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.2319, allocations: 0.6731 MB / 0.9106 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.176e-05/0.2319, allocations: 11.44 kB / 0.9107 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2319, allocations: 0 / 0.9107 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.001843/0.2337, allocations: 0.4897 MB / 0.9111 GB, free: 53.34 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile clang++ -Winvalid-pch -O0 -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 7.0.3-maint.7.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Resources/C-Sources/getTimeSpan.c:23: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: *** [: OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1