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.001305/0.001305, 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.001488/0.001488, allocations: 222.6 kB / 23 MB, free: 4.91 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8638/0.8638, allocations: 134 MB / 447.2 MB, free: 9.961 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.002101/0.002101, allocations: 61.25 kB / 0.6197 GB, free: 6.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1731, allocations: 85.91 MB / 0.7036 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002536/0.1756, allocations: 1.302 MB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1769, allocations: 0.818 MB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.1769, allocations: 4 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1769, allocations: 3.984 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.1771, allocations: 11.94 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.1773, allocations: 51.36 kB / 0.7058 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.506e-05/0.1774, allocations: 27.84 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1775, allocations: 4 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.1775, allocations: 12 kB / 0.7058 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.1776, allocations: 11.91 kB / 0.7058 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1776, allocations: 4 kB / 0.7058 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.1777, allocations: 8 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1777, allocations: 3.938 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1777, allocations: 4 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.1778, allocations: 35.83 kB / 0.7059 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1778, allocations: 0 / 0.7059 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1778, allocations: 0 / 0.7059 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1778, allocations: 0 / 0.7059 GB, free: 14.28 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.0003293/0.1782, allocations: 250.4 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1782, allocations: 16.56 kB / 0.7061 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.1783, allocations: 76.22 kB / 0.7062 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.1784, allocations: 193.7 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/0.1785, allocations: 150.9 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.1787, allocations: 154.9 kB / 0.7067 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.059e-05/0.1787, allocations: 105.5 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.1788, allocations: 75.47 kB / 0.7068 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1789, allocations: 154.5 kB / 0.707 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.7e-05/0.179, allocations: 154.5 kB / 0.7071 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.179, allocations: 162.5 kB / 0.7073 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.1794, allocations: 405.6 kB / 0.7077 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1795, allocations: 165.1 kB / 0.7078 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.1796, allocations: 80.14 kB / 0.7079 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.1796, allocations: 83.28 kB / 0.708 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.466e-05/0.1797, allocations: 105.8 kB / 0.7081 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.1797, allocations: 0 / 0.7081 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.936e-05/0.1798, allocations: 37.56 kB / 0.7081 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.1798, allocations: 130.7 kB / 0.7083 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.18, allocations: 105.8 kB / 0.7084 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.18, allocations: 29.7 kB / 0.7084 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.18, allocations: 80.14 kB / 0.7085 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.18, allocations: 0 / 0.7085 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1801, allocations: 17.66 kB / 0.7085 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1802, allocations: 322.8 kB / 0.7088 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.1802, allocations: 4 kB / 0.7088 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.1803, allocations: 33.7 kB / 0.7088 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.1803, allocations: 20.78 kB / 0.7088 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1803, allocations: 0 / 0.7088 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001173/0.1804, allocations: 41.66 kB / 0.7089 GB, free: 11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1804, allocations: 4 kB / 0.7089 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1804, allocations: 0 / 0.7089 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1805, allocations: 3.938 kB / 0.7089 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1805, allocations: 4.062 kB / 0.7089 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1805, allocations: 8 kB / 0.7089 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1806, allocations: 4.234 kB / 0.7089 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1806, allocations: 4 kB / 0.7089 GB, free: 10.97 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.0001148/0.1807, allocations: 185.1 kB / 0.7091 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.1808, allocations: 104.9 kB / 0.7092 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.1809, allocations: 116.4 kB / 0.7093 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.456e-05/0.181, allocations: 180.2 kB / 0.7095 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.126e-05/0.1811, allocations: 184.2 kB / 0.7096 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/0.1812, allocations: 180.3 kB / 0.7098 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.1814, allocations: 360.8 kB / 0.7102 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.046e-05/0.1815, allocations: 101 kB / 0.7103 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/0.1815, allocations: 109.1 kB / 0.7104 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.327e-05/0.1816, allocations: 180.2 kB / 0.7105 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.1817, allocations: 188.3 kB / 0.7107 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.986e-05/0.1818, allocations: 184.2 kB / 0.7109 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.648e-05/0.1819, allocations: 180.2 kB / 0.7111 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.182, allocations: 303.8 kB / 0.7113 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.1821, allocations: 112.9 kB / 0.7115 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.1822, allocations: 180.2 kB / 0.7116 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.1823, allocations: 105 kB / 0.7117 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.1824, allocations: 192.1 kB / 0.7119 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.1824, allocations: 101 kB / 0.712 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.1825, allocations: 87.27 kB / 0.7121 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1825, allocations: 0 / 0.7121 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002296/0.1827, allocations: 4 kB / 0.7121 GB, free: 7.52 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.0002452/0.183, allocations: 185.3 kB / 0.7123 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.013e-05/0.183, allocations: 12 kB / 0.7123 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.183, allocations: 4.062 kB / 0.7123 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.183, allocations: 7.938 kB / 0.7123 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1835, allocations: 461.3 kB / 0.7127 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.1837, allocations: 194.6 kB / 0.7129 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.376e-05/0.1838, allocations: 67.2 kB / 0.713 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.1838, allocations: 7.438 kB / 0.713 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1838, allocations: 0 / 0.713 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of Templates: time 0.002009/0.1858, allocations: 0.5284 MB / 0.7135 GB, free: 6.02 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 -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.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.912878450006247] Failed to read output from testmodel.py, exit status != 0: 0.19356320519000292 0.20968977800000002 0.028529349000000002 Calling exit ...