Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001298/0.001298, allocations: 187 kB / 17.34 MB, free: 5.738 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.783/0.783, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 62.67 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005426/0.1473, allocations: 4.031 MB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5549/0.7022, allocations: 150.4 MB / 0.8111 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007565/0.703, allocations: 16.09 kB / 0.8112 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.7035, allocations: 158.6 kB / 0.8113 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.705, allocations: 463.5 kB / 0.8117 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.7065, allocations: 0.7078 MB / 0.8124 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000943/0.7075, allocations: 1.083 MB / 0.8135 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.7082, allocations: 0.505 MB / 0.814 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.7086, allocations: 360 kB / 0.8143 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.7091, allocations: 372.6 kB / 0.8147 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.7092, allocations: 84.28 kB / 0.8148 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007059/0.7099, allocations: 381.8 kB / 0.8151 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.7101, allocations: 233.2 kB / 0.8154 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.7105, allocations: 426.9 kB / 0.8158 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.7117, allocations: 1.275 MB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7118, allocations: 1.781 kB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7118, allocations: 1.781 kB / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.7118, allocations: 0 / 0.817 GB, free: 10.38 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001715/0.7135, allocations: 1.187 MB / 0.8182 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7136, allocations: 11.56 kB / 0.8182 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.7138, allocations: 95.81 kB / 0.8183 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/0.7147, allocations: 0.6751 MB / 0.8189 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.7148, allocations: 44.25 kB / 0.819 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.7148, allocations: 63.38 kB / 0.819 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/0.7158, allocations: 0.7001 MB / 0.8197 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.7158, allocations: 2.781 kB / 0.8197 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.7159, allocations: 26.81 kB / 0.8197 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.7159, allocations: 19.97 kB / 0.8198 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.7171, allocations: 0.9277 MB / 0.8207 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.72, allocations: 2.323 MB / 0.8229 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.7209, allocations: 0.5939 MB / 0.8235 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.7212, allocations: 215.8 kB / 0.8237 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.066e-05/0.7213, allocations: 29.33 kB / 0.8238 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.7218, allocations: 352.8 kB / 0.8241 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.7218, allocations: 0 / 0.8241 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001238/0.7231, allocations: 0.7007 MB / 0.8248 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.7232, allocations: 253.6 kB / 0.825 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.7239, allocations: 0.5896 MB / 0.8256 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.724, allocations: 38.48 kB / 0.8256 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.7243, allocations: 336.7 kB / 0.8259 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.7244, allocations: 207 kB / 0.8261 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.7246, allocations: 136.2 kB / 0.8263 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7248, allocations: 376.2 kB / 0.8266 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.7251, allocations: 182.1 kB / 0.8268 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.7255, allocations: 299.1 kB / 0.8271 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006291/0.7261, allocations: 478.2 kB / 0.8275 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7261, allocations: 0 / 0.8275 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009066/0.727, allocations: 0.6054 MB / 0.8281 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.7271, allocations: 5.031 kB / 0.8281 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7271, allocations: 3.984 kB / 0.8281 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7271, allocations: 4.656 kB / 0.8282 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.7276, allocations: 126 kB / 0.8283 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.7276, allocations: 8.656 kB / 0.8283 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.7281, allocations: 81.11 kB / 0.8284 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/0.7281, allocations: 31.7 kB / 0.8284 GB, free: 2.852 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003211/0.7284, allocations: 247.7 kB / 0.8286 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.7286, allocations: 74.08 kB / 0.8287 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.7298, allocations: 0.7406 MB / 0.8294 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.7298, allocations: 7.781 kB / 0.8294 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7299, allocations: 0 / 0.8294 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.7299, allocations: 3.984 kB / 0.8294 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.7309, allocations: 0.8945 MB / 0.8303 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.7309, allocations: 0 / 0.8303 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.7313, allocations: 116.7 kB / 0.8304 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.7313, allocations: 2.531 kB / 0.8304 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.7313, allocations: 19.52 kB / 0.8304 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.7313, allocations: 10.69 kB / 0.8304 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7314, allocations: 0 / 0.8304 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008995/0.7323, allocations: 0.6398 MB / 0.8311 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002933/0.7326, allocations: 242.6 kB / 0.8313 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.847e-05/0.7327, allocations: 13.09 kB / 0.8313 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.7331, allocations: 41.67 kB / 0.8314 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.621e-05/0.7332, allocations: 58.23 kB / 0.8314 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.565e-05/0.7332, allocations: 22.89 kB / 0.8314 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004798/0.7337, allocations: 428.6 kB / 0.8318 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7337, allocations: 4 kB / 0.8318 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006745/0.7344, allocations: 255.8 kB / 0.8321 GB, free: 488 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001263/0.7357, allocations: 0.5949 MB / 0.8327 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008254/0.7365, allocations: 0.5005 MB / 0.8332 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.7365, allocations: 2.312 kB / 0.8332 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.7369, allocations: 279.6 kB / 0.8334 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.7379, allocations: 252.6 kB / 0.8337 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.7399, allocations: 1.334 MB / 0.835 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.7405, allocations: 0.9484 MB / 0.8359 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.7407, allocations: 104.9 kB / 0.836 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/0.7407, allocations: 4 kB / 0.836 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of Templates: time 0.0182/0.7589, allocations: 12.5 MB / 0.8482 GB, free: 4.242 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-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.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.cpp:7: /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.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o] Error 1