Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 217.4 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8525/0.8525, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 69.48 kB / 0.6198 GB, free: 6.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1519, allocations: 85.9 MB / 0.7037 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002337/0.1542, allocations: 1.3 MB / 0.7049 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1554, allocations: 0.83 MB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.1554, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.1554, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1556, allocations: 19.92 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.1558, allocations: 42.88 kB / 0.7058 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.375e-05/0.1559, allocations: 27.97 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.1559, allocations: 4 kB / 0.7058 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.156, allocations: 19.86 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1561, allocations: 7.984 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1561, allocations: 0 / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.1561, allocations: 12 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.1562, allocations: 3.984 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.1562, allocations: 7.938 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.1563, allocations: 31.84 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1563, allocations: 0 / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1563, allocations: 4 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.1563, allocations: 0 / 0.7059 GB, free: 14.57 MB / 0.5294 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.0002992/0.1566, allocations: 246.4 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.1566, allocations: 8.031 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.428e-05/0.1567, allocations: 80.22 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1568, allocations: 193.7 kB / 0.7064 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.1569, allocations: 154.9 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.157, allocations: 162.8 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.878e-05/0.157, allocations: 101.5 kB / 0.7068 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.1571, allocations: 75.47 kB / 0.7069 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.1571, allocations: 158.5 kB / 0.7071 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.1572, allocations: 150.6 kB / 0.7072 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.1573, allocations: 154.6 kB / 0.7073 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1576, allocations: 425 kB / 0.7078 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.489e-05/0.1577, allocations: 173.1 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.1577, allocations: 80.14 kB / 0.708 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.1577, allocations: 75.28 kB / 0.7081 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.1578, allocations: 109.8 kB / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1578, allocations: 0 / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.33e-05/0.1579, allocations: 37.58 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.1579, allocations: 126.7 kB / 0.7083 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1581, allocations: 109.8 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1581, allocations: 25.7 kB / 0.7085 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.1581, allocations: 88.12 kB / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.1581, allocations: 4 kB / 0.7085 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1582, allocations: 17.72 kB / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.1583, allocations: 310.8 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.1583, allocations: 4 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.1583, allocations: 11.98 kB / 0.7089 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.377e-05/0.1584, allocations: 12.86 kB / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1584, allocations: 0 / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.1585, allocations: 53.67 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1585, allocations: 4 kB / 0.7089 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1585, allocations: 7.875 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1585, allocations: 0 / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-07/0.1585, allocations: 0 / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1585, allocations: 4 kB / 0.7089 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.1586, allocations: 256 / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1586, allocations: 7.984 kB / 0.709 GB, free: 11.27 MB / 0.5294 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 0.0001255/0.1587, allocations: 189.2 kB / 0.7091 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.1588, allocations: 105 kB / 0.7092 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.1589, allocations: 116.3 kB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.68e-05/0.1589, allocations: 180.2 kB / 0.7095 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-05/0.159, allocations: 176.3 kB / 0.7097 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-05/0.1591, allocations: 180.2 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1593, allocations: 380.3 kB / 0.7102 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.1594, allocations: 104.9 kB / 0.7103 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.1594, allocations: 105 kB / 0.7104 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.1595, allocations: 184.4 kB / 0.7106 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.1596, allocations: 184.2 kB / 0.7108 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-05/0.1596, allocations: 188.3 kB / 0.711 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.445e-05/0.1597, allocations: 188.2 kB / 0.7111 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1599, allocations: 303.8 kB / 0.7114 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.1599, allocations: 112.9 kB / 0.7115 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.16, allocations: 184.2 kB / 0.7117 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.734e-05/0.1601, allocations: 108.9 kB / 0.7118 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-05/0.1602, allocations: 180.3 kB / 0.712 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.1602, allocations: 104.9 kB / 0.7121 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.1603, allocations: 87.27 kB / 0.7122 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.1603, allocations: 0 / 0.7122 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002388/0.1605, allocations: 4 kB / 0.7122 GB, free: 7.777 MB / 0.5294 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.0002797/0.1608, allocations: 182.5 kB / 0.7123 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.1609, allocations: 12 kB / 0.7124 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1609, allocations: 0 / 0.7124 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1609, allocations: 0 / 0.7124 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1612, allocations: 455.7 kB / 0.7128 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.1615, allocations: 206.5 kB / 0.713 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1618, allocations: 0.6805 MB / 0.7137 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.1618, allocations: 11.44 kB / 0.7137 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of SimCode: time 3.6e-07/0.1618, allocations: 0 / 0.7137 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of Templates: time 0.001954/0.1638, allocations: 0.5173 MB / 0.7142 GB, free: 5.672 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.1206950498744845] Failed to read output from testmodel.py, exit status != 0: 0.1719680919777602 0.18769133200000002 0.028260587 Calling exit ...