Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 102.4 kB / 16.4 MB, free: 6.461 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.001214/0.001214, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 62.69 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1209, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002149/0.1231, allocations: 1.236 MB / 0.6615 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000967/0.1241, allocations: 0.7235 MB / 0.6623 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1242, allocations: 0 / 0.6623 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.1242, allocations: 3.984 kB / 0.6623 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1244, allocations: 19.86 kB / 0.6623 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.66e-05/0.1245, allocations: 11.94 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.585e-05/0.1245, allocations: 7.984 kB / 0.6623 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.1246, allocations: 4 kB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.1246, allocations: 7.984 kB / 0.6623 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000665/0.1253, allocations: 4 kB / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1253, allocations: 0 / 0.6623 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.23e-05/0.1253, allocations: 4 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1254, allocations: 15.97 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1254, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.198e-05/0.1255, allocations: 11.88 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1255, allocations: 4 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1255, allocations: 7.938 kB / 0.6624 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.1255, allocations: 0 / 0.6624 GB, free: 8.195 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.0002798/0.1258, allocations: 315.5 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.1258, allocations: 8.031 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.1259, allocations: 80.22 kB / 0.6627 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.126, allocations: 239.7 kB / 0.663 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.1261, allocations: 162.9 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.1261, allocations: 150.9 kB / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.679e-05/0.1262, allocations: 101.5 kB / 0.6634 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.1262, allocations: 75.47 kB / 0.6634 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.1263, allocations: 154.5 kB / 0.6636 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.1263, allocations: 158.5 kB / 0.6637 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.1264, allocations: 154.6 kB / 0.6639 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.1267, allocations: 442 kB / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.1267, allocations: 169.1 kB / 0.6645 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.1268, allocations: 88.12 kB / 0.6645 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1268, allocations: 83.28 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.1269, allocations: 109.8 kB / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1269, allocations: 0 / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.86e-05/0.1269, allocations: 29.64 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.127, allocations: 126.7 kB / 0.6649 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.1271, allocations: 93.86 kB / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1271, allocations: 29.83 kB / 0.665 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.1271, allocations: 88.14 kB / 0.6651 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.1271, allocations: 0 / 0.6651 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1272, allocations: 13.7 kB / 0.6651 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.1273, allocations: 310.8 kB / 0.6654 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-06/0.1273, allocations: 0 / 0.6654 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.1273, allocations: 7.938 kB / 0.6654 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.1273, allocations: 79.22 kB / 0.6655 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.829e-05/0.1274, allocations: 79.31 kB / 0.6656 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.23e-05/0.1274, allocations: 29.7 kB / 0.6656 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.1275, allocations: 79.28 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.1275, allocations: 79.22 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.127e-05/0.1276, allocations: 170.5 kB / 0.6659 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.1276, allocations: 75.28 kB / 0.666 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.742e-05/0.1276, allocations: 154.5 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.1278, allocations: 79.28 kB / 0.6662 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.1278, allocations: 79.28 kB / 0.6663 GB, free: 3.945 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 (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 prepare postOptimizeDAE: time 0.0001075/0.1279, allocations: 257.3 kB / 0.6665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.128, allocations: 112.9 kB / 0.6666 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.128, allocations: 112.2 kB / 0.6667 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/0.1281, allocations: 192.2 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/0.1281, allocations: 176.3 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.457e-05/0.1282, allocations: 176.3 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1284, allocations: 409.2 kB / 0.6676 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/0.1284, allocations: 101 kB / 0.6677 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.1285, allocations: 104.9 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.598e-05/0.1285, allocations: 184.3 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.1286, allocations: 184.2 kB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.26e-05/0.1287, allocations: 180.2 kB / 0.6684 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/0.1287, allocations: 184.3 kB / 0.6685 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.1288, allocations: 311.7 kB / 0.6688 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.1289, allocations: 182.1 kB / 0.669 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.129, allocations: 192.1 kB / 0.6692 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.1291, allocations: 101 kB / 0.6693 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.1291, allocations: 180.2 kB / 0.6695 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.1292, allocations: 109 kB / 0.6696 GB, free: 352 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.1292, allocations: 79.28 kB / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1292, allocations: 0 / 0.6696 GB, free: 272 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000266/0.1295, allocations: 4 kB / 0.6696 GB, free: 268 kB / 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.0002294/0.1297, allocations: 190.4 kB / 0.6698 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.183e-05/0.1298, allocations: 3.938 kB / 0.6698 GB, free: 64 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1298, allocations: 12.03 kB / 0.6698 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.1298, allocations: 0 / 0.6698 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1301, allocations: 455.7 kB / 0.6703 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.1303, allocations: 186.5 kB / 0.6704 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1306, allocations: 0.669 MB / 0.6711 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.1306, allocations: 15.44 kB / 0.6711 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1306, allocations: 0 / 0.6711 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of Templates: time 0.001577/0.1322, allocations: 481.3 kB / 0.6716 GB, free: 14.21 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeaderFunctions.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.GetTimeSpanTMY3LongHeaderCalcHelperMain.o] Error 1