Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) 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.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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001523/0.001524, allocations: 113.4 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.001764/0.001764, allocations: 183 kB / 17.34 MB, free: 5.762 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7988/0.7988, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.97 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1435, allocations: 80.2 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002076/0.1456, allocations: 1.265 MB / 0.6616 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.1466, allocations: 0.7411 MB / 0.6623 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.1466, allocations: 0 / 0.6623 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.1467, allocations: 3.938 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1469, allocations: 11.98 kB / 0.6623 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1471, allocations: 55.86 kB / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.732e-05/0.1472, allocations: 23.92 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.1472, allocations: 0 / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.1473, allocations: 11.98 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1474, allocations: 11.92 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1474, allocations: 4 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.919e-05/0.1474, allocations: 8 kB / 0.6624 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.1475, allocations: 7.969 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1475, allocations: 11.88 kB / 0.6624 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.1476, allocations: 15.98 kB / 0.6625 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1476, allocations: 4 kB / 0.6625 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1476, allocations: 0 / 0.6625 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1476, allocations: 0 / 0.6625 GB, free: 8.074 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.0002973/0.1479, allocations: 331.5 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.148, allocations: 12.03 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.148, allocations: 80.12 kB / 0.6629 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1481, allocations: 239.7 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/0.1482, allocations: 154.9 kB / 0.6632 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.1483, allocations: 158.9 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.618e-05/0.1483, allocations: 105.5 kB / 0.6635 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1484, allocations: 75.47 kB / 0.6636 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.1484, allocations: 154.5 kB / 0.6637 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.1485, allocations: 154.5 kB / 0.6639 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.1485, allocations: 154.6 kB / 0.664 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002657/0.1488, allocations: 449.9 kB / 0.6644 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.1489, allocations: 173.1 kB / 0.6646 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.1489, allocations: 84.08 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1489, allocations: 79.28 kB / 0.6648 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.149, allocations: 113.8 kB / 0.6649 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.149, allocations: 0 / 0.6649 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.319e-05/0.1491, allocations: 33.64 kB / 0.6649 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.1491, allocations: 126.7 kB / 0.665 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.1492, allocations: 105.8 kB / 0.6651 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1492, allocations: 25.7 kB / 0.6651 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.1493, allocations: 88.05 kB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.1493, allocations: 0 / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1493, allocations: 21.7 kB / 0.6653 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1494, allocations: 318.9 kB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1495, allocations: 0 / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.1495, allocations: 11.98 kB / 0.6656 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.1495, allocations: 20.8 kB / 0.6656 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1495, allocations: 4.094 kB / 0.6656 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.965e-05/0.1496, allocations: 41.69 kB / 0.6656 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1497, allocations: 4 kB / 0.6656 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1497, allocations: 3.938 kB / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1497, allocations: 0 / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1497, allocations: 0 / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1497, allocations: 0 / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.1498, allocations: 7.938 kB / 0.6656 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1498, allocations: 3.984 kB / 0.6657 GB, free: 4.57 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.901e-05/0.1499, allocations: 190 kB / 0.6658 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.15, allocations: 104.9 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.15, allocations: 112.5 kB / 0.666 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.383e-05/0.1501, allocations: 188.2 kB / 0.6662 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.94e-05/0.1501, allocations: 180.5 kB / 0.6664 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-05/0.1502, allocations: 176.3 kB / 0.6666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.1504, allocations: 417.2 kB / 0.667 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.1504, allocations: 101 kB / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.1505, allocations: 104.9 kB / 0.6672 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/0.1505, allocations: 180.4 kB / 0.6673 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/0.1506, allocations: 184.2 kB / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.988e-05/0.1507, allocations: 188.2 kB / 0.6677 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.047e-05/0.1507, allocations: 180.3 kB / 0.6679 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1509, allocations: 299.8 kB / 0.6681 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.1509, allocations: 194 kB / 0.6683 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.151, allocations: 192.1 kB / 0.6685 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.1511, allocations: 101 kB / 0.6686 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.1512, allocations: 184.2 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.1512, allocations: 104.9 kB / 0.6689 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.1512, allocations: 87.27 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1512, allocations: 0 / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002365/0.1515, allocations: 4 kB / 0.669 GB, free: 0.9414 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.0002808/0.1518, allocations: 190.5 kB / 0.6691 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.189e-05/0.1519, allocations: 11.94 kB / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1519, allocations: 0 / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.1519, allocations: 0 / 0.6692 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1522, allocations: 467.7 kB / 0.6696 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.1525, allocations: 192.4 kB / 0.6698 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1527, allocations: 0.6768 MB / 0.6705 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.1527, allocations: 7.438 kB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1527, allocations: 0 / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.001703/0.1544, allocations: 0.5152 MB / 0.671 GB, free: 14.83 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_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/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.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.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.GetTimeSpanTMY3CalcHelperMain.o] Error 1