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_NonzeroStart.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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 252 MB / 268 MB, free: 10.86 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.000964/0.0009641, allocations: 173.6 kB / 327.6 MB, free: 2.094 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.556/1.556, allocations: 205.4 MB / 0.5786 GB, free: 20.22 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.0007429/0.0007428, allocations: 95.09 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 12.44 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001117/0.2121, allocations: 0.9932 MB / 0.9024 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.2129, allocations: 0.7086 MB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.213, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.213, allocations: 4 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.2132, allocations: 11.92 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.2134, allocations: 50.31 kB / 0.9032 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.2134, allocations: 31.91 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.2135, allocations: 7.984 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.2135, allocations: 4 kB / 0.9032 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2137, allocations: 19.48 kB / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2137, allocations: 0 / 0.9032 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.2137, allocations: 11.98 kB / 0.9033 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.2138, allocations: 4 kB / 0.9033 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.2138, allocations: 41.61 kB / 0.9033 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.742e-05/0.2139, allocations: 12 kB / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2139, allocations: 0 / 0.9033 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2139, allocations: 7.938 kB / 0.9033 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2139, allocations: 0 / 0.9033 GB, free: 61.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.0002011/0.2141, allocations: 319.5 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2142, allocations: 8.031 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2142, allocations: 80.22 kB / 0.9037 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.2143, allocations: 247.8 kB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2143, allocations: 150.9 kB / 0.9041 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.2143, allocations: 158.9 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.662e-05/0.2144, allocations: 101.5 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2144, allocations: 75.47 kB / 0.9044 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.2144, allocations: 158.5 kB / 0.9046 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.2145, allocations: 150.6 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.2145, allocations: 154.5 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.2147, allocations: 453.9 kB / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.2147, allocations: 165.1 kB / 0.9054 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.2147, allocations: 84.14 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.2148, allocations: 75.28 kB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2148, allocations: 113.8 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2148, allocations: 3.938 kB / 0.9057 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.179e-05/0.2149, allocations: 33.64 kB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.2149, allocations: 130.7 kB / 0.9059 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.215, allocations: 109.8 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.215, allocations: 29.64 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.215, allocations: 80.14 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.215, allocations: 7.984 kB / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.215, allocations: 0 / 0.9061 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.81e-05/0.2151, allocations: 314.8 kB / 0.9064 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.2151, allocations: 4 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.2151, allocations: 12 kB / 0.9064 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.2152, allocations: 20.78 kB / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2152, allocations: 0 / 0.9064 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.793e-05/0.2153, allocations: 37.8 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2153, allocations: 8 kB / 0.9065 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2153, allocations: 7.922 kB / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.2153, allocations: 0 / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2153, allocations: 0 / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2153, allocations: 0 / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.2154, allocations: 0 / 0.9065 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2155, allocations: 4 kB / 0.9065 GB, free: 58.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.2155, allocations: 185.1 kB / 0.9066 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.2156, allocations: 120.8 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2156, allocations: 108.5 kB / 0.9069 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.2156, allocations: 180.3 kB / 0.907 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/0.2157, allocations: 184.2 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.2157, allocations: 180.3 kB / 0.9074 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.2158, allocations: 409.2 kB / 0.9078 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.2158, allocations: 101 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.2158, allocations: 109 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.129e-05/0.2159, allocations: 184.3 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2159, allocations: 188.2 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/0.2159, allocations: 180.2 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.032e-05/0.216, allocations: 180.3 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.687e-05/0.216, allocations: 307.8 kB / 0.909 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.2161, allocations: 178.1 kB / 0.9091 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.2161, allocations: 188.1 kB / 0.9093 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.2162, allocations: 109 kB / 0.9094 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.2162, allocations: 180.2 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2162, allocations: 113 kB / 0.9097 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.2162, allocations: 83.22 kB / 0.9098 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2162, allocations: 0 / 0.9098 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002361/0.2165, allocations: 11.94 kB / 0.9098 GB, free: 54.48 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 (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.0001769/0.2167, allocations: 192.8 kB / 0.91 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.428e-05/0.2167, allocations: 8 kB / 0.91 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2167, allocations: 0 / 0.91 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.604e-06/0.2167, allocations: 7.938 kB / 0.91 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.217, allocations: 0.5166 MB / 0.9105 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.2172, allocations: 201.8 kB / 0.9107 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.454e-05/0.2173, allocations: 0.677 MB / 0.9114 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.2173, allocations: 7.438 kB / 0.9114 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2173, allocations: 0 / 0.9114 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.001477/0.2188, allocations: 0.5212 MB / 0.9119 GB, free: 52.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile clang++ -std=c++14 -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/Buildings 7.0.3-maint.7.0.x/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/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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1