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.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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 103.5 kB / 16.41 MB, free: 6.469 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.00154/0.00154, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.28/1.28, 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/package.mo): time 0.7913/0.7913, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 71.83 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 80.2 MB / 0.6604 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002329/0.1385, allocations: 1.279 MB / 0.6616 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1396, allocations: 0.7469 MB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.536e-05/0.1396, allocations: 0 / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.1397, allocations: 0 / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1399, allocations: 7.938 kB / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.14, allocations: 51.92 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.1401, allocations: 23.91 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.1402, allocations: 0 / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1402, allocations: 11.98 kB / 0.6624 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1403, allocations: 15.94 kB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1404, allocations: 0 / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.795e-05/0.1404, allocations: 11.92 kB / 0.6625 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.1405, allocations: 7.984 kB / 0.6625 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1405, allocations: 7.938 kB / 0.6625 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.813e-05/0.1406, allocations: 19.97 kB / 0.6625 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1406, allocations: 4 kB / 0.6625 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1406, allocations: 0 / 0.6625 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1406, allocations: 0 / 0.6625 GB, free: 8.047 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.00028/0.1409, allocations: 323.5 kB / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1409, allocations: 12.03 kB / 0.6628 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.141, allocations: 84.06 kB / 0.6629 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1411, allocations: 247.7 kB / 0.6631 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.555e-05/0.1412, allocations: 150.9 kB / 0.6633 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.833e-05/0.1412, allocations: 154.9 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.223e-05/0.1413, allocations: 105.5 kB / 0.6635 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.1413, allocations: 75.47 kB / 0.6636 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.239e-05/0.1414, allocations: 154.5 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.286e-05/0.1414, allocations: 150.6 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.1415, allocations: 158.6 kB / 0.664 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.1418, allocations: 449.9 kB / 0.6645 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.1418, allocations: 173.1 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.1419, allocations: 80.14 kB / 0.6647 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1419, allocations: 83.22 kB / 0.6648 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.1419, allocations: 105.8 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1419, allocations: 0 / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.993e-05/0.142, allocations: 33.64 kB / 0.6649 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.1421, allocations: 126.7 kB / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1422, allocations: 106 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1422, allocations: 25.7 kB / 0.6652 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.1423, allocations: 96.02 kB / 0.6653 GB, free: 5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-06/0.1423, allocations: 0 / 0.6653 GB, free: 5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1423, allocations: 29.66 kB / 0.6653 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1424, allocations: 310.8 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.1424, allocations: 4 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.1425, allocations: 16.05 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.1425, allocations: 12.86 kB / 0.6656 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1425, allocations: 0 / 0.6656 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.608e-05/0.1426, allocations: 45.78 kB / 0.6657 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1426, allocations: 4 kB / 0.6657 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1426, allocations: 3.938 kB / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1427, allocations: 0 / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1427, allocations: 0 / 0.6657 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1427, allocations: 4 kB / 0.6657 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.1428, allocations: 11.86 kB / 0.6657 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1428, allocations: 0 / 0.6657 GB, free: 4.543 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.576e-05/0.1429, allocations: 194 kB / 0.6659 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.143, allocations: 104.9 kB / 0.666 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.1431, allocations: 112.5 kB / 0.6661 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/0.1431, allocations: 184.2 kB / 0.6663 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.1432, allocations: 176.3 kB / 0.6664 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.875e-05/0.1432, allocations: 180.2 kB / 0.6666 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1434, allocations: 409.2 kB / 0.667 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/0.1435, allocations: 101 kB / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.1435, allocations: 109.1 kB / 0.6672 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.822e-05/0.1436, allocations: 180.3 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/0.1436, allocations: 188.1 kB / 0.6675 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.573e-05/0.1437, allocations: 180.2 kB / 0.6677 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.489e-05/0.1438, allocations: 184.3 kB / 0.6679 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1439, allocations: 303.8 kB / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.144, allocations: 189.9 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.144, allocations: 184.2 kB / 0.6685 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.572e-05/0.1441, allocations: 109 kB / 0.6686 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1442, allocations: 184.2 kB / 0.6688 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.1442, allocations: 101 kB / 0.6689 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.1443, allocations: 95.2 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1443, allocations: 0 / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002219/0.1445, allocations: 4 kB / 0.669 GB, free: 0.9141 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.0002183/0.1447, allocations: 188.8 kB / 0.6692 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.904e-05/0.1448, allocations: 15.94 kB / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1448, allocations: 0 / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1448, allocations: 0 / 0.6692 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.1452, allocations: 465.6 kB / 0.6696 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.1454, allocations: 194.5 kB / 0.6698 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1457, allocations: 0.6768 MB / 0.6705 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.1457, allocations: 7.438 kB / 0.6705 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1457, allocations: 0 / 0.6705 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.001636/0.1473, allocations: 0.5242 MB / 0.671 GB, free: 14.79 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile 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 -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.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