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.001375/0.001375, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001517/0.001517, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8507/0.8507, allocations: 134 MB / 447.2 MB, free: 9.941 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.002056/0.002056, allocations: 70.53 kB / 0.6197 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.161, allocations: 85.91 MB / 0.7036 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002452/0.1635, allocations: 1.293 MB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.1647, allocations: 0.8145 MB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.1647, allocations: 0 / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1648, allocations: 0 / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.165, allocations: 19.92 kB / 0.7057 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.1652, allocations: 51.84 kB / 0.7057 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.871e-05/0.1653, allocations: 19.94 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.1653, allocations: 4 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.1654, allocations: 15.92 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.1655, allocations: 7.984 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1655, allocations: 0 / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.1655, allocations: 7.984 kB / 0.7058 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.1656, allocations: 11.94 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1656, allocations: 3.984 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.416e-05/0.1657, allocations: 27.8 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1657, allocations: 4 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1657, allocations: 0 / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.1657, allocations: 0 / 0.7058 GB, free: 14.25 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.0003325/0.166, allocations: 254.4 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1661, allocations: 8.031 kB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.1661, allocations: 80.2 kB / 0.7062 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1663, allocations: 189.7 kB / 0.7064 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.1664, allocations: 158.9 kB / 0.7065 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.1664, allocations: 154.9 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.1665, allocations: 105.5 kB / 0.7068 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.1666, allocations: 75.47 kB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.1666, allocations: 162.5 kB / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.402e-05/0.1667, allocations: 154.6 kB / 0.7071 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.1668, allocations: 154.6 kB / 0.7073 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.1671, allocations: 405.5 kB / 0.7077 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.1672, allocations: 165.1 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.1673, allocations: 84.14 kB / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.1673, allocations: 75.28 kB / 0.708 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.1674, allocations: 109.8 kB / 0.7081 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1674, allocations: 0 / 0.7081 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.026e-05/0.1675, allocations: 37.58 kB / 0.7081 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1675, allocations: 130.7 kB / 0.7082 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1677, allocations: 105.8 kB / 0.7083 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1677, allocations: 25.7 kB / 0.7084 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.1677, allocations: 84.08 kB / 0.7084 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1677, allocations: 0 / 0.7084 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.1678, allocations: 21.7 kB / 0.7085 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1679, allocations: 314.8 kB / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.1679, allocations: 4 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.168, allocations: 33.69 kB / 0.7088 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.168, allocations: 16.95 kB / 0.7088 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.168, allocations: 4.25 kB / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.1681, allocations: 49.58 kB / 0.7089 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1681, allocations: 4 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1681, allocations: 4 kB / 0.7089 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1682, allocations: 7.938 kB / 0.7089 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1682, allocations: 0 / 0.7089 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1682, allocations: 0 / 0.7089 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.1683, allocations: 0 / 0.7089 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1683, allocations: 7.984 kB / 0.7089 GB, free: 10.93 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.1684, allocations: 189.1 kB / 0.7091 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1685, allocations: 105 kB / 0.7092 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.1685, allocations: 112.4 kB / 0.7093 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-05/0.1686, allocations: 184.2 kB / 0.7094 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.162e-05/0.1687, allocations: 184.2 kB / 0.7096 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.1688, allocations: 176.3 kB / 0.7098 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.169, allocations: 356.9 kB / 0.7101 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/0.1691, allocations: 104.9 kB / 0.7102 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1691, allocations: 105 kB / 0.7103 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/0.1692, allocations: 180.4 kB / 0.7105 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.1693, allocations: 180.3 kB / 0.7107 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.689e-05/0.1694, allocations: 188.3 kB / 0.7109 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.329e-05/0.1695, allocations: 192.1 kB / 0.711 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1696, allocations: 299.8 kB / 0.7113 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.1697, allocations: 116.9 kB / 0.7114 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.1698, allocations: 180.2 kB / 0.7116 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1699, allocations: 108.9 kB / 0.7117 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.261e-05/0.17, allocations: 180.2 kB / 0.7119 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.1701, allocations: 104.9 kB / 0.712 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.1701, allocations: 91.27 kB / 0.7121 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1701, allocations: 3.938 kB / 0.7121 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002442/0.1704, allocations: 8 kB / 0.7121 GB, free: 7.469 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.0002926/0.1706, allocations: 178.5 kB / 0.7123 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.1707, allocations: 4 kB / 0.7123 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1707, allocations: 0 / 0.7123 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1707, allocations: 0 / 0.7123 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1711, allocations: 463.6 kB / 0.7127 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.1714, allocations: 198.5 kB / 0.7129 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.177e-05/0.1715, allocations: 67.27 kB / 0.713 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.1715, allocations: 11.44 kB / 0.713 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1715, allocations: 0 / 0.713 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.00212/0.1736, allocations: 0.5319 MB / 0.7135 GB, free: 5.98 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 -DOMC_BUILD -DUSE_THREAD -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: 4.905204409267753] Failed to read output from testmodel.py, exit status != 0: 0.18134732358157635 0.19733370800000002 0.028509192000000003 Calling exit ...