Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 101.2 kB / 16.36 MB, free: 6.355 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.001407/0.001407, allocations: 192.4 kB / 17.3 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 75.02 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2651, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002731/0.2679, allocations: 1.264 MB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.269, allocations: 0.7348 MB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.2691, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.2691, allocations: 0 / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.2694, allocations: 15.92 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.2696, allocations: 47.3 kB / 0.7868 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.967e-05/0.2697, allocations: 23.92 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.2698, allocations: 4 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.2698, allocations: 15.91 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.27, allocations: 12 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.27, allocations: 0 / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.27, allocations: 11.92 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.2701, allocations: 7.984 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.2701, allocations: 11.94 kB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.2703, allocations: 27.84 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2703, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2703, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2703, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 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.000374/0.2707, allocations: 335.4 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.2707, allocations: 12.03 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.2708, allocations: 76.22 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.271, allocations: 243.7 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.271, allocations: 150.9 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4558/0.7269, allocations: 150.9 kB / 0.7878 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/0.727, allocations: 101.5 kB / 0.7879 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.727, allocations: 80.75 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.727, allocations: 151.8 kB / 0.7881 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.7271, allocations: 151.6 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.027e-05/0.7271, allocations: 154.7 kB / 0.7884 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.7274, allocations: 460.1 kB / 0.7889 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.7274, allocations: 169.6 kB / 0.789 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.7275, allocations: 80.14 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.7275, allocations: 78.78 kB / 0.7892 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7275, allocations: 113.3 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.7275, allocations: 1.938 kB / 0.7893 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.101e-05/0.7276, allocations: 31.02 kB / 0.7893 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.7277, allocations: 126.7 kB / 0.7895 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.7278, allocations: 106.4 kB / 0.7896 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.7278, allocations: 28.98 kB / 0.7896 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.7278, allocations: 84.19 kB / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/0.7278, allocations: 0 / 0.7897 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.7279, allocations: 18.22 kB / 0.7897 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.728, allocations: 317 kB / 0.79 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.728, allocations: 3.188 kB / 0.79 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-05/0.728, allocations: 18 kB / 0.79 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.7281, allocations: 16.67 kB / 0.79 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7281, allocations: 0 / 0.79 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/0.7282, allocations: 38.83 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7282, allocations: 9.672 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7282, allocations: 0 / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7283, allocations: 3.625 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.7283, allocations: 0 / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7283, allocations: 6.469 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.7285, allocations: 1.688 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7285, allocations: 2.625 kB / 0.7901 GB, free: 46.7 MB / 0.6544 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 6.76e-05/0.7286, allocations: 196.2 kB / 0.7903 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.7286, allocations: 110.2 kB / 0.7904 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.7286, allocations: 111 kB / 0.7905 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/0.7287, allocations: 181.5 kB / 0.7906 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.973e-05/0.7287, allocations: 181.7 kB / 0.7908 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.7287, allocations: 177.8 kB / 0.791 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.7289, allocations: 409.4 kB / 0.7914 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.7289, allocations: 105.2 kB / 0.7915 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.7289, allocations: 105.7 kB / 0.7916 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.067e-05/0.729, allocations: 183.9 kB / 0.7918 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.729, allocations: 180.1 kB / 0.7919 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.029e-05/0.729, allocations: 180.2 kB / 0.7921 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.729e-05/0.7291, allocations: 180.5 kB / 0.7923 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/0.7292, allocations: 312.4 kB / 0.7926 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.7292, allocations: 183.6 kB / 0.7927 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.7293, allocations: 186.2 kB / 0.7929 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.812e-05/0.7293, allocations: 106.4 kB / 0.793 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.7294, allocations: 181.3 kB / 0.7932 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7294, allocations: 106.2 kB / 0.7933 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.7294, allocations: 92.61 kB / 0.7934 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.203e-06/0.7294, allocations: 0 / 0.7934 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002488/0.7297, allocations: 12.7 kB / 0.7934 GB, free: 43.22 MB / 0.6544 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.0002625/0.73, allocations: 185.1 kB / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.7301, allocations: 8.531 kB / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7301, allocations: 3.562 kB / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.404e-06/0.7301, allocations: 2.625 kB / 0.7936 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.7304, allocations: 459.6 kB / 0.794 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.7306, allocations: 196.2 kB / 0.7942 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.7308, allocations: 0.678 MB / 0.7949 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.7308, allocations: 7.438 kB / 0.7949 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7308, allocations: 1.406 kB / 0.7949 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.002012/0.7328, allocations: 0.5237 MB / 0.7954 GB, free: 41.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: *** [: OMCppBuildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1