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.001349/0.001349, allocations: 100.1 kB / 15.88 MB, free: 12 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.001577/0.001578, allocations: 199.2 kB / 16.79 MB, free: 6.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.082/1.082, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.33 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1767, allocations: 80.93 MB / 0.5843 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005766/0.1825, allocations: 4.033 MB / 0.5883 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4778/0.6603, allocations: 148.1 MB / 0.7329 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009543/0.6613, allocations: 18.97 kB / 0.7329 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000602/0.662, allocations: 126.8 kB / 0.7331 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.6637, allocations: 388 kB / 0.7334 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.6655, allocations: 0.6174 MB / 0.734 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.6669, allocations: 1.008 MB / 0.735 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.6678, allocations: 499.1 kB / 0.7355 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005598/0.6683, allocations: 306.7 kB / 0.7358 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005814/0.6689, allocations: 349.2 kB / 0.7361 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.669, allocations: 38.69 kB / 0.7362 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.6699, allocations: 317 kB / 0.7365 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.6701, allocations: 181.7 kB / 0.7366 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003868/0.6705, allocations: 378.9 kB / 0.737 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.6716, allocations: 0.9321 MB / 0.7379 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6716, allocations: 0 / 0.7379 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6716, allocations: 0 / 0.7379 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.6716, allocations: 1.062 kB / 0.7379 GB, free: 11.95 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.002057/0.6737, allocations: 1.179 MB / 0.7391 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6737, allocations: 10.09 kB / 0.7391 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.674, allocations: 103 kB / 0.7392 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/0.6749, allocations: 0.6582 MB / 0.7398 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.675, allocations: 49.25 kB / 0.7399 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.602e-05/0.6751, allocations: 59.19 kB / 0.7399 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.6763, allocations: 0.7045 MB / 0.7406 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6763, allocations: 0 / 0.7406 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.6764, allocations: 28.06 kB / 0.7406 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.6764, allocations: 16 kB / 0.7406 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.6778, allocations: 0.9243 MB / 0.7415 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/0.6812, allocations: 2.344 MB / 0.7438 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.6822, allocations: 0.5945 MB / 0.7444 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.6825, allocations: 227.9 kB / 0.7446 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/0.6826, allocations: 33.48 kB / 0.7447 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.6832, allocations: 345.6 kB / 0.745 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.746e-06/0.6832, allocations: 0 / 0.745 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001266/0.6845, allocations: 0.7069 MB / 0.7457 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.6846, allocations: 242.2 kB / 0.7459 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.6854, allocations: 0.5911 MB / 0.7465 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.6854, allocations: 39.2 kB / 0.7465 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.6857, allocations: 329.3 kB / 0.7468 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.6859, allocations: 205.4 kB / 0.747 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.6861, allocations: 143.7 kB / 0.7472 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6862, allocations: 373.7 kB / 0.7475 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.6865, allocations: 193.8 kB / 0.7477 GB, free: 5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.687, allocations: 289.6 kB / 0.748 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.6877, allocations: 482.4 kB / 0.7484 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6877, allocations: 0 / 0.7484 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009717/0.6887, allocations: 0.5968 MB / 0.749 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6887, allocations: 10.34 kB / 0.749 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6887, allocations: 0 / 0.749 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.6887, allocations: 8.156 kB / 0.749 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.6893, allocations: 131.8 kB / 0.7492 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.6893, allocations: 4 kB / 0.7492 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.6898, allocations: 71.34 kB / 0.7492 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/0.6899, allocations: 35.97 kB / 0.7493 GB, free: 3.969 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.0003422/0.6902, allocations: 241.6 kB / 0.7495 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6904, allocations: 72.66 kB / 0.7496 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.6917, allocations: 0.7525 MB / 0.7503 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.6918, allocations: 8 kB / 0.7503 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6918, allocations: 4 kB / 0.7503 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.6918, allocations: 3.984 kB / 0.7503 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.6928, allocations: 0.8896 MB / 0.7512 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6928, allocations: 4 kB / 0.7512 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.6933, allocations: 123.9 kB / 0.7513 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.6933, allocations: 4 kB / 0.7513 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.6933, allocations: 19.98 kB / 0.7513 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.6933, allocations: 3.938 kB / 0.7513 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6933, allocations: 4 kB / 0.7514 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.6943, allocations: 0.6378 MB / 0.752 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.6946, allocations: 243.9 kB / 0.7522 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6947, allocations: 16 kB / 0.7522 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.6952, allocations: 43.95 kB / 0.7523 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6953, allocations: 52.53 kB / 0.7523 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.877e-05/0.6953, allocations: 23.98 kB / 0.7523 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005004/0.6958, allocations: 431 kB / 0.7527 GB, free: 324 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6958, allocations: 0 / 0.7527 GB, free: 324 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007537/0.6966, allocations: 243.5 kB / 0.753 GB, free: 80 kB / 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.001399/0.698, allocations: 0.5924 MB / 0.7536 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009084/0.6989, allocations: 0.5049 MB / 0.7541 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6989, allocations: 0 / 0.7541 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.6993, allocations: 275.6 kB / 0.7543 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.7004, allocations: 230.5 kB / 0.7545 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.7027, allocations: 1.659 MB / 0.7562 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.7033, allocations: 0.9538 MB / 0.7571 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/0.7035, allocations: 103.4 kB / 0.7572 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7035, allocations: 0 / 0.7572 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.0205/0.7241, allocations: 12.28 MB / 0.7692 GB, free: 15.71 MB / 0.5919 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