Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 110.6 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 187 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7676/0.7676, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.95 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 80.91 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002775/0.1706, allocations: 1.267 MB / 0.6665 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1719, allocations: 0.7391 MB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.1719, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.172, allocations: 3.938 kB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1723, allocations: 11.98 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1725, allocations: 55.11 kB / 0.6673 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.1726, allocations: 23.92 kB / 0.6674 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.1726, allocations: 4 kB / 0.6674 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.1727, allocations: 11.98 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.1729, allocations: 11.92 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1729, allocations: 0 / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.1729, allocations: 7.984 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.173, allocations: 8 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.173, allocations: 15.86 kB / 0.6674 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.947e-05/0.1731, allocations: 15.97 kB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1732, allocations: 4 kB / 0.6674 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1732, allocations: 4 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1732, allocations: 0 / 0.6674 GB, free: 3.613 MB / 0.4981 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.0003712/0.1736, allocations: 331.4 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1736, allocations: 9.109 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.1737, allocations: 80.12 kB / 0.6678 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1739, allocations: 239.7 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.1739, allocations: 154.9 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.174, allocations: 154.9 kB / 0.6684 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.456e-05/0.1741, allocations: 105.5 kB / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.1741, allocations: 79.47 kB / 0.6685 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.1742, allocations: 158.5 kB / 0.6687 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.1743, allocations: 154.5 kB / 0.6688 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.53e-05/0.1743, allocations: 154.6 kB / 0.669 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.1747, allocations: 453.9 kB / 0.6694 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.1748, allocations: 165.1 kB / 0.6696 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.1748, allocations: 80.14 kB / 0.6697 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1749, allocations: 75.28 kB / 0.6697 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.1749, allocations: 117.8 kB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1749, allocations: 0 / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001003/0.175, allocations: 33.64 kB / 0.6699 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.1751, allocations: 126.7 kB / 0.67 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1752, allocations: 105.8 kB / 0.6701 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1753, allocations: 25.7 kB / 0.6701 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.1753, allocations: 88.14 kB / 0.6702 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.1753, allocations: 0 / 0.6702 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.1754, allocations: 21.69 kB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1755, allocations: 318.9 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.1755, allocations: 4 kB / 0.6705 GB, free: 224 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.1756, allocations: 11.98 kB / 0.6705 GB, free: 212 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.1756, allocations: 12.8 kB / 0.6706 GB, free: 196 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1756, allocations: 4 kB / 0.6706 GB, free: 192 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001296/0.1758, allocations: 49.69 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1758, allocations: 5.875 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1758, allocations: 7.938 kB / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1758, allocations: 0 / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.1758, allocations: 256 / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1758, allocations: 0 / 0.6706 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/0.1759, allocations: 7.938 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1759, allocations: 4 kB / 0.6706 GB, free: 112 kB / 0.4981 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.0001298/0.1761, allocations: 190.5 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.1762, allocations: 112.9 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1762, allocations: 108.5 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.456e-05/0.1763, allocations: 188.1 kB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/0.1764, allocations: 176.3 kB / 0.6714 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.011e-05/0.1764, allocations: 184.2 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1767, allocations: 409.2 kB / 0.6719 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.553e-05/0.1767, allocations: 105 kB / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.1768, allocations: 104.9 kB / 0.6721 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.696e-05/0.1769, allocations: 176.4 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.1769, allocations: 184.2 kB / 0.6725 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-05/0.177, allocations: 184.2 kB / 0.6727 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.847e-05/0.1771, allocations: 184.3 kB / 0.6728 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1772, allocations: 303.8 kB / 0.6731 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1773, allocations: 178.1 kB / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.389e-05/0.1774, allocations: 200.1 kB / 0.6735 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1775, allocations: 108.9 kB / 0.6736 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1776, allocations: 180.2 kB / 0.6738 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/0.1776, allocations: 101 kB / 0.6739 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.1777, allocations: 91.27 kB / 0.6739 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1777, allocations: 0 / 0.6739 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002543/0.1779, allocations: 4 kB / 0.6739 GB, free: 12.49 MB / 0.5137 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.0002911/0.1782, allocations: 186.5 kB / 0.6741 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.1783, allocations: 11.94 kB / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1783, allocations: 0 / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.1783, allocations: 0 / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1787, allocations: 454 kB / 0.6746 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.179, allocations: 206.4 kB / 0.6748 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1793, allocations: 0.6768 MB / 0.6754 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.1793, allocations: 7.438 kB / 0.6754 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1793, allocations: 0 / 0.6754 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002164/0.1815, allocations: 0.5182 MB / 0.6759 GB, free: 10.38 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_dev_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 -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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.o] Error 1