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.001216/0.001216, allocations: 112.5 kB / 16.37 MB, free: 6.344 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.001191/0.001191, allocations: 190 kB / 17.3 MB, free: 5.898 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 58.44 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1426, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002027/0.1447, allocations: 1.267 MB / 0.6615 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009453/0.1456, allocations: 0.739 MB / 0.6622 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1456, allocations: 4 kB / 0.6622 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.1457, allocations: 3.938 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1459, allocations: 7.984 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1461, allocations: 55.86 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.129e-05/0.1462, allocations: 23.92 kB / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.1462, allocations: 0 / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.1463, allocations: 11.98 kB / 0.6623 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1464, allocations: 11.92 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1464, allocations: 4 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.1465, allocations: 7.984 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.1465, allocations: 8 kB / 0.6624 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.1465, allocations: 7.922 kB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.062e-05/0.1466, allocations: 23.97 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1466, allocations: 0 / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1466, allocations: 3.938 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1467, allocations: 0 / 0.6624 GB, free: 8.105 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.0002877/0.1469, allocations: 327.5 kB / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.147, allocations: 12.03 kB / 0.6627 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.1471, allocations: 80.12 kB / 0.6628 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1472, allocations: 235.7 kB / 0.663 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.1472, allocations: 154.9 kB / 0.6632 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1473, allocations: 158.9 kB / 0.6633 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.1474, allocations: 101.5 kB / 0.6634 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1474, allocations: 75.47 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.1475, allocations: 162.5 kB / 0.6637 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-05/0.1475, allocations: 154.6 kB / 0.6638 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.1476, allocations: 154.5 kB / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.1478, allocations: 453.9 kB / 0.6644 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.1479, allocations: 169.1 kB / 0.6645 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.1479, allocations: 80.14 kB / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1479, allocations: 79.28 kB / 0.6647 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.148, allocations: 109.8 kB / 0.6648 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.148, allocations: 0 / 0.6648 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.948e-05/0.1481, allocations: 37.64 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1481, allocations: 126.7 kB / 0.665 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1483, allocations: 105.8 kB / 0.6651 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1483, allocations: 29.7 kB / 0.6651 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.1483, allocations: 84.05 kB / 0.6652 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-06/0.1483, allocations: 0 / 0.6652 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1484, allocations: 17.7 kB / 0.6652 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.1485, allocations: 322.9 kB / 0.6655 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.1485, allocations: 0 / 0.6655 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.743e-05/0.1485, allocations: 11.98 kB / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.1485, allocations: 20.89 kB / 0.6655 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1485, allocations: 256 / 0.6655 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000106/0.1487, allocations: 49.67 kB / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1487, allocations: 5.875 kB / 0.6656 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1487, allocations: 7.938 kB / 0.6656 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1487, allocations: 3.984 kB / 0.6656 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1487, allocations: 0 / 0.6656 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1487, allocations: 0 / 0.6656 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.1488, allocations: 7.938 kB / 0.6656 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1488, allocations: 0 / 0.6656 GB, free: 4.602 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 7.781e-05/0.1489, allocations: 194 kB / 0.6658 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.149, allocations: 104.9 kB / 0.6659 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.149, allocations: 108.5 kB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.702e-05/0.1491, allocations: 184.3 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/0.1492, allocations: 184.1 kB / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/0.1492, allocations: 184.2 kB / 0.6665 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.1494, allocations: 405.2 kB / 0.6669 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.1494, allocations: 105 kB / 0.667 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.1495, allocations: 104.9 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.114e-05/0.1495, allocations: 180.4 kB / 0.6673 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.1496, allocations: 184.2 kB / 0.6674 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.778e-05/0.1496, allocations: 184.2 kB / 0.6676 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.635e-05/0.1497, allocations: 176.3 kB / 0.6678 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.1498, allocations: 307.8 kB / 0.6681 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.1499, allocations: 186 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.15, allocations: 200.1 kB / 0.6685 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.15, allocations: 104.9 kB / 0.6686 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.1501, allocations: 184.2 kB / 0.6687 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.1501, allocations: 101 kB / 0.6688 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.1502, allocations: 87.27 kB / 0.6689 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1502, allocations: 0 / 0.6689 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002248/0.1504, allocations: 4 kB / 0.6689 GB, free: 0.9727 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.0002483/0.1507, allocations: 189.5 kB / 0.6691 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.239e-05/0.1507, allocations: 8 kB / 0.6691 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1507, allocations: 0 / 0.6691 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1508, allocations: 3.938 kB / 0.6691 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1511, allocations: 459.8 kB / 0.6695 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.1513, allocations: 198.5 kB / 0.6697 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1516, allocations: 0.6768 MB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.108e-05/0.1516, allocations: 7.438 kB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.1516, allocations: 0 / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.001621/0.1532, allocations: 0.516 MB / 0.6709 GB, free: 14.86 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