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.0007556/0.0007558, allocations: 92.47 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007895/0.0007895, allocations: 176.6 kB / 16.92 MB, free: 6.652 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8822/0.8822, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 8.5 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001213/0.1389, allocations: 0.9939 MB / 0.5896 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.1398, allocations: 0.7168 MB / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.1398, allocations: 0 / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.1399, allocations: 0 / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.14, allocations: 7.984 kB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.1402, allocations: 58.98 kB / 0.5903 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.1403, allocations: 35.89 kB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.375e-05/0.1403, allocations: 0 / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.1404, allocations: 15.94 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1405, allocations: 4 kB / 0.5904 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1405, allocations: 3.938 kB / 0.5904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.1406, allocations: 15.97 kB / 0.5904 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.1406, allocations: 11.94 kB / 0.5904 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1406, allocations: 29.69 kB / 0.5905 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.733e-05/0.1407, allocations: 11.98 kB / 0.5905 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1407, allocations: 0 / 0.5905 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1407, allocations: 0 / 0.5905 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1407, allocations: 0 / 0.5905 GB, free: 0.7031 MB / 494.1 MB 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.0002528/0.141, allocations: 339.7 kB / 0.5908 GB, free: 328 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.141, allocations: 8.031 kB / 0.5908 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.1411, allocations: 76.22 kB / 0.5909 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1412, allocations: 243.7 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.1413, allocations: 154.9 kB / 0.5913 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.1413, allocations: 150.9 kB / 0.5914 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.426e-05/0.1414, allocations: 105.5 kB / 0.5915 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1414, allocations: 75.47 kB / 0.5916 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.1415, allocations: 158.5 kB / 0.5917 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.1415, allocations: 150.6 kB / 0.5919 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.1416, allocations: 154.6 kB / 0.592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.1418, allocations: 457.9 kB / 0.5924 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.1419, allocations: 165.1 kB / 0.5926 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.73e-05/0.142, allocations: 80.14 kB / 0.5927 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.142, allocations: 75.28 kB / 0.5928 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.142, allocations: 105.8 kB / 0.5929 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.142, allocations: 4 kB / 0.5929 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.439e-05/0.1421, allocations: 41.48 kB / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1422, allocations: 130.7 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.1423, allocations: 105.9 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1423, allocations: 25.7 kB / 0.5931 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1423, allocations: 84.12 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.1423, allocations: 4 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.1424, allocations: 9.719 kB / 0.5932 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.1425, allocations: 314.8 kB / 0.5935 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.565e-05/0.1425, allocations: 4 kB / 0.5935 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.1425, allocations: 11.98 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.1425, allocations: 12.91 kB / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1425, allocations: 0 / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.497e-05/0.1426, allocations: 45.62 kB / 0.5936 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1427, allocations: 4 kB / 0.5936 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1427, allocations: 3.938 kB / 0.5936 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.1427, allocations: 8.125 kB / 0.5936 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1427, allocations: 0 / 0.5936 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1427, allocations: 3.938 kB / 0.5936 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.1428, allocations: 0 / 0.5936 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1428, allocations: 3.938 kB / 0.5936 GB, free: 13.22 MB / 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 9.387e-05/0.1429, allocations: 197.1 kB / 0.5938 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.143, allocations: 101 kB / 0.5939 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.212e-05/0.143, allocations: 120.4 kB / 0.594 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.527e-05/0.1431, allocations: 176.3 kB / 0.5942 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-05/0.1431, allocations: 180.2 kB / 0.5944 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-05/0.1432, allocations: 184.3 kB / 0.5946 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1434, allocations: 401.5 kB / 0.5949 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/0.1434, allocations: 108.9 kB / 0.595 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.1435, allocations: 113 kB / 0.5951 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.487e-05/0.1435, allocations: 184.2 kB / 0.5953 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.705e-05/0.1436, allocations: 180.2 kB / 0.5955 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.747e-05/0.1436, allocations: 180.3 kB / 0.5957 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.437e-05/0.1437, allocations: 180.2 kB / 0.5958 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1438, allocations: 315.7 kB / 0.5961 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.1439, allocations: 178.1 kB / 0.5963 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.144, allocations: 184.2 kB / 0.5965 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.1441, allocations: 112.9 kB / 0.5966 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1441, allocations: 176.3 kB / 0.5968 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.1442, allocations: 112.9 kB / 0.5969 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.1442, allocations: 87.27 kB / 0.5969 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1442, allocations: 0 / 0.5969 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002074/0.1444, allocations: 4 kB / 0.597 GB, free: 9.59 MB / 0.4981 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.0002447/0.1447, allocations: 196.1 kB / 0.5971 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.686e-05/0.1447, allocations: 12 kB / 0.5972 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1447, allocations: 0 / 0.5972 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.1447, allocations: 4 kB / 0.5972 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1451, allocations: 0.52 MB / 0.5977 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.1453, allocations: 209.9 kB / 0.5979 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1456, allocations: 0.6731 MB / 0.5985 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.1456, allocations: 7.438 kB / 0.5985 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1456, allocations: 0 / 0.5985 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.001634/0.1472, allocations: 0.5153 MB / 0.599 GB, free: 7.395 MB / 0.4981 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++14 -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