Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_NonzeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001364/0.00137, allocations: 105.5 kB / 16.41 MB, free: 6.488 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.00167/0.00167, allocations: 187 kB / 17.34 MB, free: 5.73 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.05 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.21 MB / 0.6604 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00236/0.1577, allocations: 1.265 MB / 0.6616 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1589, allocations: 0.7507 MB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1589, allocations: 0 / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.159, allocations: 0 / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1592, allocations: 15.92 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1594, allocations: 43.92 kB / 0.6624 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.1595, allocations: 23.92 kB / 0.6624 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.1596, allocations: 7.984 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.1596, allocations: 11.94 kB / 0.6624 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1598, allocations: 19.86 kB / 0.6625 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.1598, allocations: 0 / 0.6625 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.1598, allocations: 7.984 kB / 0.6625 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.1599, allocations: 8 kB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1599, allocations: 11.92 kB / 0.6625 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.616e-05/0.16, allocations: 11.98 kB / 0.6625 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.16, allocations: 0 / 0.6625 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.16, allocations: 0 / 0.6625 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.16, allocations: 0 / 0.6625 GB, free: 8.09 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.0003179/0.1604, allocations: 331.5 kB / 0.6628 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1604, allocations: 16.02 kB / 0.6628 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.1605, allocations: 80.12 kB / 0.6629 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1606, allocations: 247.6 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.1607, allocations: 150.9 kB / 0.6633 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.1607, allocations: 150.9 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.369e-05/0.1608, allocations: 105.5 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.1608, allocations: 79.47 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.1609, allocations: 162.5 kB / 0.6638 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.775e-05/0.1609, allocations: 150.6 kB / 0.6639 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.161, allocations: 150.6 kB / 0.664 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.1612, allocations: 449.9 kB / 0.6645 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.1613, allocations: 173.1 kB / 0.6646 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.1614, allocations: 80.14 kB / 0.6647 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1614, allocations: 75.28 kB / 0.6648 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.1614, allocations: 109.8 kB / 0.6649 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1614, allocations: 4 kB / 0.6649 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.383e-05/0.1615, allocations: 37.64 kB / 0.6649 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1616, allocations: 130.7 kB / 0.6651 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1617, allocations: 105.8 kB / 0.6652 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1617, allocations: 25.7 kB / 0.6652 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.1618, allocations: 88.05 kB / 0.6653 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1618, allocations: 0 / 0.6653 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.1618, allocations: 17.72 kB / 0.6653 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1619, allocations: 318.8 kB / 0.6656 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.1619, allocations: 8 kB / 0.6656 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.522e-05/0.162, allocations: 4 kB / 0.6656 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.162, allocations: 16.84 kB / 0.6656 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.162, allocations: 0 / 0.6656 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001126/0.1621, allocations: 41.7 kB / 0.6656 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1622, allocations: 7.938 kB / 0.6657 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1622, allocations: 3.938 kB / 0.6657 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1622, allocations: 7.938 kB / 0.6657 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.1622, allocations: 8.109 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1622, allocations: 0 / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1623, allocations: 3.938 kB / 0.6657 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1624, allocations: 4.25 kB / 0.6657 GB, free: 4.578 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 9.218e-05/0.1625, allocations: 182 kB / 0.6659 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.1625, allocations: 105 kB / 0.666 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1626, allocations: 120.3 kB / 0.6661 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.313e-05/0.1626, allocations: 188.3 kB / 0.6663 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-05/0.1627, allocations: 176.3 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/0.1628, allocations: 184.2 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.163, allocations: 401.2 kB / 0.667 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.163, allocations: 108.9 kB / 0.6671 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.1631, allocations: 105.1 kB / 0.6672 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.475e-05/0.1631, allocations: 184.3 kB / 0.6674 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.1632, allocations: 184.1 kB / 0.6675 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.422e-05/0.1632, allocations: 180.3 kB / 0.6677 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.847e-05/0.1633, allocations: 180.2 kB / 0.6679 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1634, allocations: 311.8 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.1635, allocations: 185.9 kB / 0.6684 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.1636, allocations: 192.2 kB / 0.6685 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1637, allocations: 104.9 kB / 0.6686 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.1638, allocations: 180.2 kB / 0.6688 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1638, allocations: 105 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.1639, allocations: 91.22 kB / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 0.669 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002308/0.1641, allocations: 4 kB / 0.669 GB, free: 0.9492 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.0002341/0.1644, allocations: 188.8 kB / 0.6692 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.1644, allocations: 15.98 kB / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1644, allocations: 0 / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.1645, allocations: 0 / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1648, allocations: 454.7 kB / 0.6696 GB, free: 304 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.1651, allocations: 206.4 kB / 0.6698 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.1653, allocations: 0.6729 MB / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.1654, allocations: 11.44 kB / 0.6705 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1654, allocations: 0 / 0.6705 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.001793/0.1672, allocations: 0.5287 MB / 0.671 GB, free: 14.83 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile make -j1 -f IDEAS_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/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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStartFunctions.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.GetTimeSpanTMY3_NonzeroStartCalcHelperMain.o] Error 1