Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009827/0.0009828, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001004/0.001004, allocations: 189.6 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.199/1.199, 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-master/package.mo): time 0.7253/0.7253, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.91 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1254, allocations: 80.91 MB / 0.6653 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001878/0.1273, allocations: 1.275 MB / 0.6666 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.1282, allocations: 0.743 MB / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.1283, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.1283, allocations: 0 / 0.6673 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1285, allocations: 11.92 kB / 0.6673 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.1286, allocations: 51.92 kB / 0.6674 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.1287, allocations: 19.92 kB / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.1287, allocations: 0 / 0.6674 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.1288, allocations: 23.97 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1289, allocations: 7.938 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1289, allocations: 0 / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.129, allocations: 11.92 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.129, allocations: 7.984 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.129, allocations: 7.938 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.093e-05/0.1291, allocations: 19.97 kB / 0.6675 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1291, allocations: 4 kB / 0.6675 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1291, allocations: 0 / 0.6675 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1291, allocations: 0 / 0.6675 GB, free: 3.621 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.000281/0.1294, allocations: 331.4 kB / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.1295, allocations: 9.109 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.1295, allocations: 80.12 kB / 0.6679 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1296, allocations: 247.7 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/0.1297, allocations: 154.9 kB / 0.6682 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.722e-05/0.1297, allocations: 150.9 kB / 0.6684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.786e-05/0.1298, allocations: 113.5 kB / 0.6685 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.1298, allocations: 75.47 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.1299, allocations: 154.5 kB / 0.6687 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.1299, allocations: 150.6 kB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.13, allocations: 150.6 kB / 0.669 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002441/0.1302, allocations: 453.9 kB / 0.6694 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.1303, allocations: 173.1 kB / 0.6696 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.1303, allocations: 80.14 kB / 0.6697 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1304, allocations: 79.27 kB / 0.6698 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.1304, allocations: 109.8 kB / 0.6699 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1304, allocations: 4 kB / 0.6699 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.289e-05/0.1305, allocations: 29.64 kB / 0.6699 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1305, allocations: 130.7 kB / 0.67 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1306, allocations: 101.9 kB / 0.6701 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1306, allocations: 29.64 kB / 0.6701 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.1307, allocations: 96.06 kB / 0.6702 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.1307, allocations: 0 / 0.6702 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1307, allocations: 17.72 kB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.1308, allocations: 314.8 kB / 0.6705 GB, free: 232 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1308, allocations: 7.984 kB / 0.6706 GB, free: 224 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.1309, allocations: 12 kB / 0.6706 GB, free: 212 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1309, allocations: 8.859 kB / 0.6706 GB, free: 200 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1309, allocations: 4 kB / 0.6706 GB, free: 196 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.94e-05/0.131, allocations: 45.58 kB / 0.6706 GB, free: 144 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.131, allocations: 5.875 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.131, allocations: 12.06 kB / 0.6706 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.1311, allocations: 0 / 0.6706 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/0.1311, allocations: 0 / 0.6706 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1311, allocations: 7.922 kB / 0.6706 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1312, allocations: 7.922 kB / 0.6707 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1312, allocations: 4 kB / 0.6707 GB, free: 108 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 8.352e-05/0.1313, allocations: 185.1 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/0.1313, allocations: 105 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1314, allocations: 116.4 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.186e-05/0.1314, allocations: 184.1 kB / 0.6712 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-05/0.1315, allocations: 176.3 kB / 0.6714 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.1316, allocations: 184.2 kB / 0.6716 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1318, allocations: 405.5 kB / 0.672 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/0.1318, allocations: 109 kB / 0.6721 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1318, allocations: 105.1 kB / 0.6722 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.614e-05/0.1319, allocations: 184.3 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.1319, allocations: 192.1 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.042e-05/0.132, allocations: 176.3 kB / 0.6727 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.115e-05/0.132, allocations: 180.2 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1322, allocations: 303.8 kB / 0.6731 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1322, allocations: 186 kB / 0.6733 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.1323, allocations: 188.2 kB / 0.6735 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.1324, allocations: 104.9 kB / 0.6736 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.1324, allocations: 180.3 kB / 0.6738 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.1325, allocations: 105 kB / 0.6739 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.083e-05/0.1325, allocations: 87.27 kB / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1325, allocations: 0 / 0.674 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002038/0.1327, allocations: 4 kB / 0.674 GB, free: 12.5 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.0001867/0.1329, allocations: 199.3 kB / 0.6742 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.133, allocations: 8 kB / 0.6742 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.133, allocations: 0 / 0.6742 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.1e-05/0.133, allocations: 7.984 kB / 0.6742 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1333, allocations: 455.7 kB / 0.6746 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.1337, allocations: 198.5 kB / 0.6748 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.1341, allocations: 0.6768 MB / 0.6755 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.1341, allocations: 7.438 kB / 0.6755 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 3.917e-06/0.1341, allocations: 0 / 0.6755 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002672/0.1368, allocations: 0.5164 MB / 0.676 GB, free: 10.38 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f IDEAS_dev_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-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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1