Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007331/0.0007332, allocations: 92.16 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.0007969/0.000797, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.266/1.266, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8918/0.8918, allocations: 135.3 MB / 427.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 8.625 kB / 0.5082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 82.3 MB / 0.5886 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004033/0.1352, allocations: 3.636 MB / 0.5922 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3763/0.5115, allocations: 146.5 MB / 0.7352 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.5123, allocations: 14.88 kB / 0.7353 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006528/0.513, allocations: 138.1 kB / 0.7354 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.5146, allocations: 386 kB / 0.7358 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.5163, allocations: 0.6128 MB / 0.7364 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.5176, allocations: 0.9977 MB / 0.7373 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.5183, allocations: 497.3 kB / 0.7378 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.5187, allocations: 254.7 kB / 0.738 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.5191, allocations: 286.5 kB / 0.7383 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.5192, allocations: 19 kB / 0.7383 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007306/0.52, allocations: 298.2 kB / 0.7386 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.5201, allocations: 147.4 kB / 0.7388 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.5205, allocations: 365.6 kB / 0.7391 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.5214, allocations: 0.909 MB / 0.74 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.5214, allocations: 5.344 kB / 0.74 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5215, allocations: 0 / 0.74 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5215, allocations: 0 / 0.74 GB, free: 12.58 MB / 0.5606 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.001572/0.523, allocations: 1.011 MB / 0.741 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5231, allocations: 9.25 kB / 0.741 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.5234, allocations: 102.2 kB / 0.7411 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008814/0.5243, allocations: 0.6552 MB / 0.7417 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.5243, allocations: 46.88 kB / 0.7418 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.5244, allocations: 62.97 kB / 0.7418 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5255, allocations: 0.7 MB / 0.7425 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5255, allocations: 0 / 0.7425 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.5256, allocations: 27.34 kB / 0.7425 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.5256, allocations: 15.59 kB / 0.7426 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.5267, allocations: 0.9236 MB / 0.7435 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.5296, allocations: 2.377 MB / 0.7458 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/0.5305, allocations: 0.5894 MB / 0.7464 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.5308, allocations: 224.2 kB / 0.7466 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.5309, allocations: 28.66 kB / 0.7466 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.5314, allocations: 345.5 kB / 0.7469 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 1.684e-06/0.5314, allocations: 0 / 0.7469 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001085/0.5325, allocations: 0.7097 MB / 0.7476 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.5326, allocations: 242.2 kB / 0.7479 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.5332, allocations: 0.5907 MB / 0.7484 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.5333, allocations: 40.52 kB / 0.7485 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5335, allocations: 336.5 kB / 0.7488 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.5337, allocations: 198.2 kB / 0.749 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.5338, allocations: 56.38 kB / 0.749 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5339, allocations: 385.3 kB / 0.7494 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.5342, allocations: 194.1 kB / 0.7496 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.5346, allocations: 285.7 kB / 0.7499 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.5352, allocations: 482.9 kB / 0.7503 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5352, allocations: 0 / 0.7503 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008389/0.536, allocations: 0.5983 MB / 0.7509 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.536, allocations: 3.375 kB / 0.7509 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5361, allocations: 3.344 kB / 0.7509 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5361, allocations: 2.844 kB / 0.7509 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.5365, allocations: 135.3 kB / 0.751 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5365, allocations: 3.344 kB / 0.751 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.537, allocations: 83.8 kB / 0.7511 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.5371, allocations: 30.94 kB / 0.7512 GB, free: 5.293 MB / 0.5606 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.0002931/0.5374, allocations: 254.2 kB / 0.7514 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/0.5375, allocations: 68.28 kB / 0.7515 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.5387, allocations: 0.754 MB / 0.7522 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5388, allocations: 8 kB / 0.7522 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5388, allocations: 0 / 0.7522 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5388, allocations: 3.984 kB / 0.7522 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.5398, allocations: 0.8895 MB / 0.7531 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5398, allocations: 0 / 0.7531 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.5402, allocations: 119.8 kB / 0.7532 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.5402, allocations: 4 kB / 0.7532 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/0.5402, allocations: 19.98 kB / 0.7532 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.5402, allocations: 8.031 kB / 0.7532 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5403, allocations: 0 / 0.7532 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.5411, allocations: 0.6378 MB / 0.7538 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.5414, allocations: 252 kB / 0.7541 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5415, allocations: 24 kB / 0.7541 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.5419, allocations: 53.17 kB / 0.7542 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.542, allocations: 60.45 kB / 0.7542 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.5421, allocations: 23.98 kB / 0.7542 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004832/0.5426, allocations: 427.1 kB / 0.7546 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5426, allocations: 0 / 0.7546 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006966/0.5433, allocations: 251.4 kB / 0.7549 GB, free: 1.676 MB / 0.5606 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.001279/0.5446, allocations: 0.5876 MB / 0.7555 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.5454, allocations: 0.4969 MB / 0.7559 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5454, allocations: 4 kB / 0.756 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5458, allocations: 275.6 kB / 0.7562 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.5468, allocations: 237.7 kB / 0.7564 GB, free: 296 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.549, allocations: 1.68 MB / 0.7581 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5495, allocations: 0.9538 MB / 0.759 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.5497, allocations: 99.39 kB / 0.7591 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5498, allocations: 0 / 0.7591 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.0162/0.566, allocations: 12.2 MB / 0.771 GB, free: 1.371 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-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.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.cpp:7: /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.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.o] Error 1