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.001421/0.001421, 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.00147/0.00147, allocations: 213.7 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.8379/0.8379, allocations: 134 MB / 447.2 MB, free: 10.22 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.002039/0.002039, allocations: 70.39 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1521, allocations: 85.9 MB / 0.7037 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002288/0.1544, allocations: 1.268 MB / 0.7049 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1555, allocations: 0.826 MB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.1556, allocations: 0 / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.1556, allocations: 0 / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.1558, allocations: 19.92 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.708e-05/0.1558, allocations: 4 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.1559, allocations: 7.984 kB / 0.7057 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.1559, allocations: 4 kB / 0.7057 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.156, allocations: 4 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007074/0.1567, allocations: 7.938 kB / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1567, allocations: 0 / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.165e-05/0.1567, allocations: 11.97 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.1568, allocations: 11.94 kB / 0.7058 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.1568, allocations: 0 / 0.7058 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.1569, allocations: 11.92 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1569, allocations: 3.984 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.478e-06/0.1569, allocations: 4 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1569, allocations: 4 kB / 0.7058 GB, free: 14.71 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.0002895/0.1572, allocations: 234.4 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.1572, allocations: 8.625 kB / 0.706 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1573, allocations: 80.22 kB / 0.7061 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1574, allocations: 185.8 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.1575, allocations: 150.9 kB / 0.7064 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.1575, allocations: 154.9 kB / 0.7066 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.502e-05/0.1576, allocations: 109.5 kB / 0.7067 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.1576, allocations: 75.47 kB / 0.7068 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/0.1577, allocations: 154.5 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.056e-05/0.1578, allocations: 150.6 kB / 0.7071 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.1578, allocations: 154.6 kB / 0.7072 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.1581, allocations: 421 kB / 0.7076 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.1582, allocations: 173.1 kB / 0.7078 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.1583, allocations: 88.12 kB / 0.7078 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.1583, allocations: 75.28 kB / 0.7079 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/0.1584, allocations: 109.8 kB / 0.708 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1584, allocations: 0 / 0.708 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.1584, allocations: 33.64 kB / 0.7081 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1585, allocations: 130.6 kB / 0.7082 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.1586, allocations: 101.8 kB / 0.7083 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1586, allocations: 25.7 kB / 0.7083 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.1586, allocations: 80.14 kB / 0.7084 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.1587, allocations: 8.062 kB / 0.7084 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.1587, allocations: 13.72 kB / 0.7084 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1588, allocations: 310.8 kB / 0.7087 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.1588, allocations: 0 / 0.7087 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.1588, allocations: 0 / 0.7087 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.1589, allocations: 75.28 kB / 0.7088 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.372e-05/0.1589, allocations: 79.28 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.571e-05/0.1589, allocations: 29.69 kB / 0.7089 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.159, allocations: 83.31 kB / 0.709 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/0.159, allocations: 95.14 kB / 0.709 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.306e-05/0.1591, allocations: 150.6 kB / 0.7092 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.077e-05/0.1591, allocations: 79.22 kB / 0.7093 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.114e-05/0.1592, allocations: 150.6 kB / 0.7094 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1593, allocations: 79.28 kB / 0.7095 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1594, allocations: 87.22 kB / 0.7096 GB, free: 10.66 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.0001294/0.1595, allocations: 264.4 kB / 0.7098 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.1595, allocations: 105 kB / 0.7099 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.663e-05/0.1596, allocations: 112.2 kB / 0.71 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/0.1597, allocations: 176.3 kB / 0.7102 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-05/0.1598, allocations: 188.3 kB / 0.7104 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.879e-05/0.1598, allocations: 180.2 kB / 0.7105 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.1601, allocations: 376.3 kB / 0.7109 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.1601, allocations: 108.9 kB / 0.711 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.1602, allocations: 101 kB / 0.7111 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.122e-05/0.1603, allocations: 180.2 kB / 0.7113 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.529e-05/0.1603, allocations: 188.1 kB / 0.7115 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.339e-05/0.1604, allocations: 184.3 kB / 0.7116 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.578e-05/0.1605, allocations: 184.1 kB / 0.7118 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1606, allocations: 303.8 kB / 0.7121 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1607, allocations: 109 kB / 0.7122 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.1608, allocations: 184.2 kB / 0.7124 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.1609, allocations: 104.9 kB / 0.7125 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.1609, allocations: 180.2 kB / 0.7126 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.161, allocations: 104.9 kB / 0.7127 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.161, allocations: 83.28 kB / 0.7128 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.161, allocations: 4.094 kB / 0.7128 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002823/0.1613, allocations: 7.938 kB / 0.7128 GB, free: 7.109 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.0002701/0.1616, allocations: 185.7 kB / 0.713 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 4.634e-05/0.1616, allocations: 0 / 0.713 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1616, allocations: 0 / 0.713 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.1616, allocations: 4 kB / 0.713 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.162, allocations: 458.6 kB / 0.7135 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.1623, allocations: 202.6 kB / 0.7136 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1626, allocations: 0.6727 MB / 0.7143 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.1626, allocations: 7.438 kB / 0.7143 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1626, allocations: 0 / 0.7143 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of Templates: time 0.001938/0.1645, allocations: 477.8 kB / 0.7148 GB, free: 5.07 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 -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.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.847013181075454] Failed to read output from testmodel.py, exit status != 0: 0.17218009009957314 0.187102758 0.027207813 Calling exit ...