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.0007388/0.0007388, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008275/0.0008275, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.294/1.294, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9169/0.9169, allocations: 135.3 MB / 427.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003154, allocations: 11.98 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.001247/0.1485, allocations: 0.99 MB / 0.5896 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000946/0.1495, allocations: 0.7206 MB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.1495, allocations: 0 / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.1495, allocations: 0 / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.1497, allocations: 15.92 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.1499, allocations: 42.81 kB / 0.5903 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.348e-05/0.15, allocations: 31.91 kB / 0.5904 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.15, allocations: 4 kB / 0.5904 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.15, allocations: 15.98 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1502, allocations: 15.92 kB / 0.5904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1502, allocations: 0 / 0.5904 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.1503, allocations: 15.92 kB / 0.5904 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.1503, allocations: 3.984 kB / 0.5904 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.1503, allocations: 37.64 kB / 0.5905 GB, free: 0.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.6e-05/0.1504, allocations: 11.98 kB / 0.5905 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1504, allocations: 0 / 0.5905 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1504, allocations: 0 / 0.5905 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1504, allocations: 0 / 0.5905 GB, free: 0.6953 MB / 494.1 MB 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.0002673/0.1507, allocations: 329.6 kB / 0.5908 GB, free: 332 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1507, allocations: 12.03 kB / 0.5908 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1508, allocations: 80.16 kB / 0.5909 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.151, allocations: 243.7 kB / 0.5911 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/0.151, allocations: 154.9 kB / 0.5913 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.1511, allocations: 150.9 kB / 0.5914 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.124e-05/0.1511, allocations: 109.5 kB / 0.5915 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.1512, allocations: 75.47 kB / 0.5916 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.1512, allocations: 154.5 kB / 0.5917 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.1513, allocations: 150.6 kB / 0.5919 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.1513, allocations: 154.6 kB / 0.592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.1516, allocations: 449.9 kB / 0.5924 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.1517, allocations: 181.1 kB / 0.5926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.1517, allocations: 80.14 kB / 0.5927 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1517, allocations: 75.28 kB / 0.5928 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1518, allocations: 105.8 kB / 0.5929 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1518, allocations: 4 kB / 0.5929 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.1519, allocations: 37.55 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1519, allocations: 126.7 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.152, allocations: 109.8 kB / 0.5931 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1521, allocations: 25.7 kB / 0.5932 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.1521, allocations: 80.19 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.1521, allocations: 0 / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1521, allocations: 17.72 kB / 0.5933 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1523, allocations: 322.8 kB / 0.5936 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.1523, allocations: 11.92 kB / 0.5936 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.1523, allocations: 4 kB / 0.5936 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.1524, allocations: 16.86 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1524, allocations: 3.984 kB / 0.5936 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001269/0.1525, allocations: 37.7 kB / 0.5936 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1526, allocations: 4 kB / 0.5936 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1526, allocations: 4.062 kB / 0.5936 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1526, allocations: 4 kB / 0.5936 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1526, allocations: 0 / 0.5936 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1526, allocations: 0 / 0.5936 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.1528, allocations: 7.984 kB / 0.5937 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1528, allocations: 3.938 kB / 0.5937 GB, free: 13.2 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 0.0001256/0.1529, allocations: 185.1 kB / 0.5938 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.153, allocations: 101 kB / 0.5939 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.153, allocations: 124.4 kB / 0.594 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/0.1531, allocations: 180.2 kB / 0.5942 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.083e-05/0.1532, allocations: 176.3 kB / 0.5944 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.545e-05/0.1533, allocations: 180.3 kB / 0.5946 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1535, allocations: 409.2 kB / 0.5949 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.1536, allocations: 104.9 kB / 0.595 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.1536, allocations: 116.9 kB / 0.5952 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.017e-05/0.1537, allocations: 176.3 kB / 0.5953 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.1538, allocations: 188.1 kB / 0.5955 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.24e-05/0.1539, allocations: 180.3 kB / 0.5957 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-05/0.1539, allocations: 180.3 kB / 0.5959 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1541, allocations: 307.7 kB / 0.5961 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.985e-05/0.1542, allocations: 190 kB / 0.5963 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.1543, allocations: 184.2 kB / 0.5965 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.105e-05/0.1543, allocations: 105 kB / 0.5966 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.1544, allocations: 184.2 kB / 0.5968 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.1545, allocations: 105 kB / 0.5969 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.427e-05/0.1545, allocations: 87.53 kB / 0.597 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1545, allocations: 0 / 0.597 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002408/0.1548, allocations: 4 kB / 0.597 GB, free: 9.582 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.0002632/0.155, allocations: 190.5 kB / 0.5971 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.638e-05/0.1551, allocations: 19.88 kB / 0.5972 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1551, allocations: 0 / 0.5972 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-06/0.1552, allocations: 3.984 kB / 0.5972 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1556, allocations: 0.5185 MB / 0.5977 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.1559, allocations: 198 kB / 0.5979 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1561, allocations: 0.677 MB / 0.5985 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.1561, allocations: 7.438 kB / 0.5985 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1561, allocations: 0 / 0.5985 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of Templates: time 0.00172/0.1579, allocations: 0.514 MB / 0.599 GB, free: 7.391 MB / 0.4981 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++14 -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