Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.001603/0.001603, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001767/0.001767, allocations: 221.7 kB / 22.99 MB, free: 4.914 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8466/0.8466, allocations: 134 MB / 447.2 MB, free: 9.926 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [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.002146/0.002146, allocations: 71.98 kB / 0.6197 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1586, allocations: 85.91 MB / 0.7036 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002378/0.1609, allocations: 1.258 MB / 0.7048 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1621, allocations: 0.8106 MB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.1622, allocations: 4 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.1622, allocations: 3.938 kB / 0.7056 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1624, allocations: 15.97 kB / 0.7057 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.379e-05/0.1625, allocations: 3.938 kB / 0.7057 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.1625, allocations: 15.98 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.1626, allocations: 0 / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.1626, allocations: 3.984 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1627, allocations: 7.938 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1627, allocations: 4 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.785e-05/0.1628, allocations: 7.938 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.1628, allocations: 4 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.1628, allocations: 3.984 kB / 0.7057 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.1629, allocations: 11.92 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1629, allocations: 3.938 kB / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1629, allocations: 0 / 0.7057 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1629, allocations: 0 / 0.7057 GB, free: 14.42 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.0003084/0.1632, allocations: 246.4 kB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1632, allocations: 8.625 kB / 0.706 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.1633, allocations: 76.22 kB / 0.706 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1634, allocations: 185.8 kB / 0.7062 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.1635, allocations: 154.9 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.1636, allocations: 154.9 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.96e-05/0.1637, allocations: 105.5 kB / 0.7066 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.1637, allocations: 79.41 kB / 0.7067 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/0.1638, allocations: 154.5 kB / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-05/0.1638, allocations: 154.5 kB / 0.707 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.1639, allocations: 154.6 kB / 0.7071 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1642, allocations: 393.6 kB / 0.7075 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.53e-05/0.1643, allocations: 169.1 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.1643, allocations: 92.12 kB / 0.7078 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1644, allocations: 75.28 kB / 0.7078 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.1644, allocations: 109.8 kB / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1644, allocations: 0 / 0.7079 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.943e-05/0.1645, allocations: 29.64 kB / 0.708 GB, free: 12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1646, allocations: 134.7 kB / 0.7081 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1647, allocations: 93.86 kB / 0.7082 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1647, allocations: 25.7 kB / 0.7082 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1647, allocations: 84.14 kB / 0.7083 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-06/0.1647, allocations: 0 / 0.7083 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1648, allocations: 13.84 kB / 0.7083 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1649, allocations: 314.8 kB / 0.7086 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-06/0.1649, allocations: 7.938 kB / 0.7086 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.1649, allocations: 25.7 kB / 0.7086 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.165, allocations: 83.27 kB / 0.7087 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.033e-05/0.165, allocations: 75.28 kB / 0.7088 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.184e-05/0.1651, allocations: 29.7 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.1651, allocations: 79.28 kB / 0.7089 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.774e-05/0.1651, allocations: 83.22 kB / 0.709 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.818e-05/0.1652, allocations: 154.5 kB / 0.7091 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.033e-05/0.1653, allocations: 75.28 kB / 0.7092 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.007e-05/0.1653, allocations: 166.5 kB / 0.7093 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1655, allocations: 83.27 kB / 0.7094 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.1655, allocations: 79.22 kB / 0.7095 GB, free: 10.36 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 (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 prepare postOptimizeDAE: time 0.0001443/0.1656, allocations: 260.4 kB / 0.7097 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.1657, allocations: 101 kB / 0.7098 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1657, allocations: 112.3 kB / 0.7099 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/0.1658, allocations: 192.1 kB / 0.7101 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.477e-05/0.1659, allocations: 184.3 kB / 0.7103 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/0.166, allocations: 188.1 kB / 0.7105 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.1662, allocations: 348.9 kB / 0.7108 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-05/0.1663, allocations: 113 kB / 0.7109 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.1663, allocations: 104.9 kB / 0.711 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.163e-05/0.1664, allocations: 180.3 kB / 0.7112 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.803e-05/0.1665, allocations: 184.2 kB / 0.7114 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.868e-05/0.1666, allocations: 176.3 kB / 0.7115 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.936e-05/0.1667, allocations: 180.2 kB / 0.7117 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1668, allocations: 311.8 kB / 0.712 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1669, allocations: 104.9 kB / 0.7121 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.167, allocations: 176.3 kB / 0.7123 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1671, allocations: 109 kB / 0.7124 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.1671, allocations: 192.1 kB / 0.7126 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.1672, allocations: 101 kB / 0.7127 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.1672, allocations: 79.28 kB / 0.7127 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1672, allocations: 0 / 0.7127 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000278/0.1675, allocations: 7.938 kB / 0.7127 GB, free: 6.84 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.0002877/0.1678, allocations: 178.5 kB / 0.7129 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.139e-05/0.1679, allocations: 11.92 kB / 0.7129 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1679, allocations: 4.094 kB / 0.7129 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1679, allocations: 0 / 0.7129 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1683, allocations: 464.1 kB / 0.7134 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.1686, allocations: 186.7 kB / 0.7136 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.579e-05/0.1686, allocations: 63.2 kB / 0.7136 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1686, allocations: 7.438 kB / 0.7136 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1686, allocations: 0 / 0.7136 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of Templates: time 0.001872/0.1705, allocations: 491.6 kB / 0.7141 GB, free: 5.406 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 660] make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.8953204858116806] Failed to read output from testmodel.py, exit status != 0: 0.17759868316352367 0.19193304999999994 0.026125161 Calling exit ...