Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001205/0.001205, allocations: 107.5 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.001211/0.001211, allocations: 189.5 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8067/0.8067, allocations: 135.1 MB / 426.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 60.31 kB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1554, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002528/0.1579, allocations: 1.265 MB / 0.6665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1592, allocations: 0.743 MB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.1592, allocations: 0 / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.1592, allocations: 3.938 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1595, allocations: 7.938 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1597, allocations: 51.86 kB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.866e-05/0.1598, allocations: 27.91 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1599, allocations: 4 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.1599, allocations: 8 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1601, allocations: 15.91 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1601, allocations: 0 / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.1602, allocations: 8 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.282e-05/0.1602, allocations: 4 kB / 0.6674 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1602, allocations: 11.92 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.1604, allocations: 19.97 kB / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1604, allocations: 0 / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1604, allocations: 0 / 0.6674 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1604, allocations: 0 / 0.6674 GB, free: 3.609 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.0003404/0.1607, allocations: 335.4 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1608, allocations: 9.109 kB / 0.6678 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.1608, allocations: 84.06 kB / 0.6678 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.161, allocations: 239.7 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.1611, allocations: 154.9 kB / 0.6682 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.1611, allocations: 158.9 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.437e-05/0.1612, allocations: 101.5 kB / 0.6685 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1612, allocations: 79.45 kB / 0.6685 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.1613, allocations: 158.5 kB / 0.6687 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.676e-05/0.1613, allocations: 154.6 kB / 0.6688 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.1614, allocations: 154.5 kB / 0.669 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.1617, allocations: 449.9 kB / 0.6694 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.1617, allocations: 165.1 kB / 0.6696 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.1618, allocations: 80.14 kB / 0.6696 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1618, allocations: 83.28 kB / 0.6697 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1619, allocations: 105.8 kB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1619, allocations: 4 kB / 0.6698 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.758e-05/0.162, allocations: 37.56 kB / 0.6699 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.162, allocations: 126.7 kB / 0.67 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1622, allocations: 113.8 kB / 0.6701 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1622, allocations: 29.7 kB / 0.6701 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1622, allocations: 80.14 kB / 0.6702 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.1622, allocations: 4 kB / 0.6702 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1623, allocations: 21.7 kB / 0.6702 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1624, allocations: 314.9 kB / 0.6705 GB, free: 212 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.224e-05/0.1624, allocations: 7.938 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.1625, allocations: 7.984 kB / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.1625, allocations: 20.95 kB / 0.6706 GB, free: 172 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1625, allocations: 3.938 kB / 0.6706 GB, free: 168 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001118/0.1626, allocations: 45.59 kB / 0.6706 GB, free: 116 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1626, allocations: 5.875 kB / 0.6706 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1627, allocations: 3.938 kB / 0.6706 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1627, allocations: 4 kB / 0.6706 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1627, allocations: 0 / 0.6706 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1627, allocations: 0 / 0.6706 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.537e-05/0.1628, allocations: 3.938 kB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1628, allocations: 0 / 0.6706 GB, free: 100 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 0.0001264/0.1629, allocations: 194.5 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/0.163, allocations: 104.9 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1631, allocations: 116.5 kB / 0.671 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.888e-05/0.1631, allocations: 176.3 kB / 0.6712 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/0.1632, allocations: 188.1 kB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.373e-05/0.1632, allocations: 180.3 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1635, allocations: 405.2 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.1635, allocations: 109 kB / 0.672 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.1635, allocations: 101 kB / 0.6721 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.796e-05/0.1636, allocations: 180.4 kB / 0.6723 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.1637, allocations: 184.2 kB / 0.6725 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.298e-05/0.1637, allocations: 192.2 kB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.407e-05/0.1638, allocations: 180.2 kB / 0.6728 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1639, allocations: 299.8 kB / 0.6731 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.164, allocations: 182.1 kB / 0.6733 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.1641, allocations: 196.1 kB / 0.6735 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.1642, allocations: 105 kB / 0.6736 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.1643, allocations: 176.3 kB / 0.6737 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.1643, allocations: 105.2 kB / 0.6738 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.1644, allocations: 95.27 kB / 0.6739 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1644, allocations: 0 / 0.6739 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002154/0.1646, allocations: 0 / 0.6739 GB, free: 12.48 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.0003099/0.1649, allocations: 186.5 kB / 0.6741 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.165, allocations: 12 kB / 0.6741 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.165, allocations: 0 / 0.6741 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.165, allocations: 7.875 kB / 0.6741 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.1654, allocations: 461.6 kB / 0.6746 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.1657, allocations: 198.4 kB / 0.6748 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.166, allocations: 0.6768 MB / 0.6754 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.166, allocations: 7.438 kB / 0.6754 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.166, allocations: 0 / 0.6754 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.001973/0.168, allocations: 0.5153 MB / 0.6759 GB, free: 10.36 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile make -j1 -f IDEAS_dev_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-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.GetTimeSpanTMY3CalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3CalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3Functions.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.GetTimeSpanTMY3CalcHelperMain.o] Error 1