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.00154/0.00154, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001385/0.001385, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.657/1.657, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.783/1.783, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.002265/0.002265, allocations: 63.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2804, allocations: 114.5 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002892/0.2833, allocations: 1.26 MB / 0.7853 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2845, allocations: 0.7388 MB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.2846, allocations: 0 / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.2846, allocations: 3.938 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2849, allocations: 7.938 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.2851, allocations: 51.3 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.205e-05/0.2852, allocations: 27.84 kB / 0.7861 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.2853, allocations: 4 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.2853, allocations: 12 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2855, allocations: 11.97 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2855, allocations: 4 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.294e-05/0.2856, allocations: 7.938 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.2856, allocations: 7.938 kB / 0.7861 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.2857, allocations: 3.984 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2858, allocations: 27.91 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2858, allocations: 0 / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2858, allocations: 0 / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2858, allocations: 0 / 0.7861 GB, free: 1.676 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.0003693/0.2862, allocations: 331.7 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2862, allocations: 12.03 kB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.2863, allocations: 76.22 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2865, allocations: 239.7 kB / 0.7868 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/0.2865, allocations: 154.9 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.2866, allocations: 150.9 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/0.2867, allocations: 105.5 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.2867, allocations: 75.47 kB / 0.7872 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.2868, allocations: 162.4 kB / 0.7874 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.2868, allocations: 150.6 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.2869, allocations: 150.6 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.7579, allocations: 452.6 kB / 0.7881 GB, free: 49.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/0.758, allocations: 171 kB / 0.7883 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.758, allocations: 83.58 kB / 0.7884 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.7581, allocations: 78.38 kB / 0.7884 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.7581, allocations: 109 kB / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.7581, allocations: 0 / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001065/0.7582, allocations: 36.23 kB / 0.7886 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.7583, allocations: 130.8 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7584, allocations: 107.1 kB / 0.7888 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.7584, allocations: 27.39 kB / 0.7888 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.924e-05/0.7584, allocations: 86.88 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.7584, allocations: 1.562 kB / 0.7889 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.7585, allocations: 16.27 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.7586, allocations: 316 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.7586, allocations: 2.844 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.7586, allocations: 14.81 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.7587, allocations: 17.88 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7587, allocations: 0 / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001287/0.7588, allocations: 40.31 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7588, allocations: 9.781 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7589, allocations: 0 / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7589, allocations: 4.75 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-06/0.7589, allocations: 3.938 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.7589, allocations: 6.375 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.7591, allocations: 5.688 kB / 0.7893 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.7591, allocations: 4 kB / 0.7893 GB, free: 47.96 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.704e-05/0.7592, allocations: 183.8 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.7593, allocations: 111.6 kB / 0.7896 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.7593, allocations: 118 kB / 0.7897 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/0.7593, allocations: 183.2 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/0.7594, allocations: 180.2 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/0.7594, allocations: 180.1 kB / 0.7902 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7595, allocations: 405.8 kB / 0.7906 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.7596, allocations: 104.5 kB / 0.7907 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.7596, allocations: 107.2 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.821e-05/0.7596, allocations: 184.2 kB / 0.791 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.7597, allocations: 180.6 kB / 0.7912 GB, free: 46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-05/0.7597, allocations: 180.2 kB / 0.7913 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.179e-05/0.7597, allocations: 187.5 kB / 0.7915 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7e-05/0.7598, allocations: 305.4 kB / 0.7918 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.7599, allocations: 184.5 kB / 0.792 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.7599, allocations: 181.2 kB / 0.7922 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.76, allocations: 115.9 kB / 0.7923 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.76, allocations: 178.5 kB / 0.7924 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.7601, allocations: 102.1 kB / 0.7925 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.935e-05/0.7601, allocations: 91.83 kB / 0.7926 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7601, allocations: 0.6875 kB / 0.7926 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002733/0.7604, allocations: 8.484 kB / 0.7926 GB, free: 44.48 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.0002473/0.7606, allocations: 186.3 kB / 0.7928 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.7607, allocations: 6.797 kB / 0.7928 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7607, allocations: 4.812 kB / 0.7928 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.7607, allocations: 0 / 0.7928 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.761, allocations: 457.2 kB / 0.7933 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.7613, allocations: 196 kB / 0.7935 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.7614, allocations: 0.6764 MB / 0.7941 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.7614, allocations: 11.05 kB / 0.7941 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7615, allocations: 1.031 kB / 0.7941 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.002112/0.7636, allocations: 0.5294 MB / 0.7946 GB, free: 42.98 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