Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001581/0.001581, 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.001577/0.001577, allocations: 212.3 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.8299/0.8299, allocations: 134 MB / 447.2 MB, free: 10.25 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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [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.00201/0.00201, allocations: 61.28 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1603, allocations: 85.91 MB / 0.7037 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002714/0.163, allocations: 1.305 MB / 0.705 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1643, allocations: 0.8258 MB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.1643, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.1643, allocations: 0 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.1645, allocations: 11.94 kB / 0.7058 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1647, allocations: 55.23 kB / 0.7058 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.1648, allocations: 23.91 kB / 0.7059 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.1649, allocations: 4 kB / 0.7059 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.1649, allocations: 19.92 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.165, allocations: 4 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.165, allocations: 3.984 kB / 0.7059 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.14e-05/0.1651, allocations: 4 kB / 0.7059 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.1651, allocations: 7.984 kB / 0.7059 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1652, allocations: 11.94 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.844e-05/0.1652, allocations: 23.84 kB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1653, allocations: 8 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1653, allocations: 0 / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.1653, allocations: 0 / 0.7059 GB, free: 14.58 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.0003165/0.1656, allocations: 254.3 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1656, allocations: 8.625 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.1657, allocations: 80.22 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1658, allocations: 185.7 kB / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.833e-05/0.1659, allocations: 150.9 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.166, allocations: 166.9 kB / 0.7068 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.527e-05/0.1661, allocations: 105.5 kB / 0.7069 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.544e-05/0.1661, allocations: 75.47 kB / 0.7069 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.1662, allocations: 154.5 kB / 0.7071 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.582e-05/0.1662, allocations: 154.6 kB / 0.7072 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.1663, allocations: 158.5 kB / 0.7074 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.1666, allocations: 421 kB / 0.7078 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1668, allocations: 173.1 kB / 0.7079 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.1668, allocations: 80.14 kB / 0.708 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.1668, allocations: 79.28 kB / 0.7081 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.1669, allocations: 105.8 kB / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.1669, allocations: 3.938 kB / 0.7082 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.786e-05/0.167, allocations: 33.64 kB / 0.7082 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.1671, allocations: 130.7 kB / 0.7083 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1672, allocations: 105.8 kB / 0.7085 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1672, allocations: 29.69 kB / 0.7085 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.1673, allocations: 84.14 kB / 0.7086 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-06/0.1673, allocations: 0 / 0.7086 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.1674, allocations: 17.7 kB / 0.7086 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1675, allocations: 318.8 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.1675, allocations: 0 / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.1676, allocations: 11.98 kB / 0.7089 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.1676, allocations: 20.73 kB / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1676, allocations: 0 / 0.7089 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001336/0.1677, allocations: 53.73 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1678, allocations: 4 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1678, allocations: 3.938 kB / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1678, allocations: 0 / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1678, allocations: 0 / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1678, allocations: 0 / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1679, allocations: 4 kB / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1679, allocations: 3.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.0001186/0.168, allocations: 189.2 kB / 0.7092 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1681, allocations: 104.9 kB / 0.7093 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.495e-05/0.1682, allocations: 108.4 kB / 0.7094 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.144e-05/0.1683, allocations: 184.3 kB / 0.7095 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001133/0.1684, allocations: 184.4 kB / 0.7097 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.652e-05/0.1685, allocations: 176.3 kB / 0.7099 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1688, allocations: 388.2 kB / 0.7103 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.1688, allocations: 101 kB / 0.7103 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.1689, allocations: 105 kB / 0.7104 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.486e-05/0.169, allocations: 184.4 kB / 0.7106 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.1691, allocations: 184.2 kB / 0.7108 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/0.1692, allocations: 188.1 kB / 0.711 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.637e-05/0.1693, allocations: 184.2 kB / 0.7112 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.1695, allocations: 303.8 kB / 0.7114 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.1696, allocations: 104.9 kB / 0.7115 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.1697, allocations: 192.1 kB / 0.7117 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.1698, allocations: 109 kB / 0.7118 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.1699, allocations: 180.2 kB / 0.712 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.17, allocations: 101 kB / 0.7121 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6e-05/0.1701, allocations: 87.27 kB / 0.7122 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 0 / 0.7122 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002581/0.1703, allocations: 4 kB / 0.7122 GB, free: 7.785 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.000281/0.1706, allocations: 187.5 kB / 0.7124 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.745e-05/0.1707, allocations: 8 kB / 0.7124 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1707, allocations: 0 / 0.7124 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.1707, allocations: 7.875 kB / 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.0004515/0.1712, allocations: 461.6 kB / 0.7128 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.1715, allocations: 198.5 kB / 0.713 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1719, allocations: 0.6805 MB / 0.7137 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1719, allocations: 7.438 kB / 0.7137 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.1719, allocations: 0 / 0.7137 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of Templates: time 0.002421/0.1743, allocations: 0.5131 MB / 0.7142 GB, free: 5.676 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.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/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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.873566952999681] Failed to read output from testmodel.py, exit status != 0: 0.1825855018105358 0.201004813 0.032306426 Calling exit ...