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.508/1.508, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009156/0.0009155, allocations: 177.5 kB / 326.5 MB, free: 2.668 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.851/1.851, allocations: 205 MB / 0.5766 GB, free: 21 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.001031/0.00103, allocations: 82.3 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 12.38 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001124/0.1775, allocations: 0.9969 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007636/0.1783, allocations: 0.7197 MB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.1783, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.956e-05/0.1783, allocations: 7.938 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1785, allocations: 7.938 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001559/0.1787, allocations: 43.94 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.1787, allocations: 35.89 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.1788, allocations: 4 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.177e-05/0.1788, allocations: 11.98 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1789, allocations: 11.94 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1789, allocations: 0 / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.317e-05/0.179, allocations: 7.984 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.179, allocations: 7.984 kB / 0.8986 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.1791, allocations: 12 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.1791, allocations: 24.12 kB / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1791, allocations: 0 / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1791, allocations: 0 / 0.8986 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1792, allocations: 0 / 0.8986 GB, free: 66.28 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.0002247/0.1794, allocations: 324.3 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1794, allocations: 8.031 kB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.1795, allocations: 84.22 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.675e-05/0.1796, allocations: 239.6 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.1796, allocations: 154.9 kB / 0.8994 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.1796, allocations: 154.9 kB / 0.8995 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.578e-05/0.1797, allocations: 101.5 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1797, allocations: 75.47 kB / 0.8997 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.1797, allocations: 154.5 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.1798, allocations: 158.5 kB / 0.9 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.123e-05/0.1798, allocations: 154.5 kB / 0.9001 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.18, allocations: 449.9 kB / 0.9006 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.18, allocations: 173.1 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.63e-05/0.18, allocations: 88.12 kB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.18, allocations: 75.28 kB / 0.9009 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.1801, allocations: 105.8 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1801, allocations: 3.938 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.247e-05/0.1801, allocations: 29.64 kB / 0.901 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1802, allocations: 130.7 kB / 0.9011 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.1803, allocations: 109.8 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.1803, allocations: 25.7 kB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.1e-05/0.1803, allocations: 84.14 kB / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.1803, allocations: 0 / 0.9013 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.1803, allocations: 9.719 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.1804, allocations: 314.8 kB / 0.9016 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.1804, allocations: 3.984 kB / 0.9017 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.1804, allocations: 8 kB / 0.9017 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.1805, allocations: 24.89 kB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1805, allocations: 0 / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.737e-05/0.1806, allocations: 41.69 kB / 0.9017 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1806, allocations: 7.938 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1806, allocations: 3.938 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1806, allocations: 0 / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.1806, allocations: 0 / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1806, allocations: 0 / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.1807, allocations: 11.92 kB / 0.9017 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1808, allocations: 0 / 0.9017 GB, free: 62.8 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.18e-05/0.1808, allocations: 189.2 kB / 0.9019 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1809, allocations: 112.8 kB / 0.902 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.1809, allocations: 113.3 kB / 0.9021 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.1809, allocations: 180.3 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/0.1809, allocations: 184.2 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.181, allocations: 180.3 kB / 0.9027 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1811, allocations: 413.1 kB / 0.9031 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.1811, allocations: 105.2 kB / 0.9032 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.1811, allocations: 105 kB / 0.9033 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/0.1811, allocations: 184.4 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1812, allocations: 188.2 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.187e-05/0.1812, allocations: 188.2 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-05/0.1812, allocations: 176.3 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.5e-05/0.1813, allocations: 303.8 kB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1813, allocations: 190 kB / 0.9044 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1814, allocations: 188.1 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.91e-05/0.1814, allocations: 101 kB / 0.9047 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1815, allocations: 184.2 kB / 0.9049 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1815, allocations: 105 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.1815, allocations: 83.28 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1815, allocations: 0 / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002295/0.1817, allocations: 4 kB / 0.9051 GB, free: 59.18 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.0001982/0.182, allocations: 188 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.182, allocations: 8 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.182, allocations: 0 / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.182, allocations: 3.938 kB / 0.9053 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1823, allocations: 0.5313 MB / 0.9058 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002115/0.1825, allocations: 192.2 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1827, allocations: 0.677 MB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.779e-06/0.1827, allocations: 7.438 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.1827, allocations: 0 / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001591/0.1843, allocations: 0.5199 MB / 0.9071 GB, free: 56.99 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