Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, 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.001223/0.001223, allocations: 200.7 kB / 16.79 MB, free: 6.828 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.427/1.427, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.27 kB / 0.5053 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 80.92 MB / 0.5843 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.006015/0.1784, allocations: 4.044 MB / 0.5883 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5324/0.7108, allocations: 148.1 MB / 0.7329 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.7119, allocations: 19.25 kB / 0.733 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008868/0.7129, allocations: 130.3 kB / 0.7331 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.7147, allocations: 378.6 kB / 0.7334 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.7166, allocations: 0.6172 MB / 0.734 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.718, allocations: 1.01 MB / 0.735 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000805/0.7188, allocations: 486.3 kB / 0.7355 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.7193, allocations: 313.2 kB / 0.7358 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.7197, allocations: 334.7 kB / 0.7361 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.901e-05/0.7198, allocations: 38.91 kB / 0.7361 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008118/0.7207, allocations: 317.2 kB / 0.7364 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.7209, allocations: 183.4 kB / 0.7366 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/0.7213, allocations: 389.1 kB / 0.737 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.7224, allocations: 0.9333 MB / 0.7379 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7224, allocations: 0 / 0.7379 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.52e-07/0.7224, allocations: 0 / 0.7379 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.7224, allocations: 0 / 0.7379 GB, free: 12.07 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.001956/0.7244, allocations: 1.185 MB / 0.7391 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7244, allocations: 9.594 kB / 0.7391 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.7248, allocations: 99.19 kB / 0.7392 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.7257, allocations: 0.659 MB / 0.7398 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.7257, allocations: 46.66 kB / 0.7399 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.7258, allocations: 59.56 kB / 0.7399 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.7269, allocations: 0.7023 MB / 0.7406 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.727, allocations: 4 kB / 0.7406 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.727, allocations: 26.94 kB / 0.7406 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.727, allocations: 19.22 kB / 0.7406 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.7284, allocations: 0.9197 MB / 0.7415 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.7316, allocations: 2.345 MB / 0.7438 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009385/0.7326, allocations: 0.595 MB / 0.7444 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.7329, allocations: 222.7 kB / 0.7446 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.47e-05/0.733, allocations: 29.19 kB / 0.7447 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006103/0.7336, allocations: 355.5 kB / 0.745 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 5.049e-06/0.7336, allocations: 112 / 0.745 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001246/0.7348, allocations: 0.7084 MB / 0.7457 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.735, allocations: 239.9 kB / 0.7459 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.7357, allocations: 0.5932 MB / 0.7465 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.7358, allocations: 41.59 kB / 0.7465 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.736, allocations: 332.7 kB / 0.7469 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7362, allocations: 206.8 kB / 0.747 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.7364, allocations: 137.4 kB / 0.7472 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.7366, allocations: 377.2 kB / 0.7475 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.7369, allocations: 189.1 kB / 0.7477 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.7373, allocations: 291.3 kB / 0.748 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.738, allocations: 483.8 kB / 0.7485 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.738, allocations: 0 / 0.7485 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009918/0.739, allocations: 0.5983 MB / 0.749 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.739, allocations: 4 kB / 0.749 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.7391, allocations: 4 kB / 0.7491 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.7391, allocations: 4 kB / 0.7491 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.7396, allocations: 127.8 kB / 0.7492 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.7396, allocations: 4 kB / 0.7492 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.7401, allocations: 79.5 kB / 0.7493 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.7402, allocations: 31.97 kB / 0.7493 GB, free: 4.008 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.0003469/0.7406, allocations: 245.6 kB / 0.7495 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.7407, allocations: 67.16 kB / 0.7496 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.7421, allocations: 0.7494 MB / 0.7503 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.7421, allocations: 11.75 kB / 0.7503 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7422, allocations: 3.938 kB / 0.7503 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7422, allocations: 7.984 kB / 0.7503 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.7432, allocations: 0.8896 MB / 0.7512 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7433, allocations: 0 / 0.7512 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.7437, allocations: 119.8 kB / 0.7513 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.7437, allocations: 0 / 0.7513 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.7437, allocations: 20.86 kB / 0.7513 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.7437, allocations: 4 kB / 0.7513 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7437, allocations: 0 / 0.7513 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.7447, allocations: 0.6418 MB / 0.752 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.745, allocations: 239.9 kB / 0.7522 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7451, allocations: 15.94 kB / 0.7522 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.7455, allocations: 54.58 kB / 0.7523 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.7457, allocations: 50.84 kB / 0.7523 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.7457, allocations: 23.98 kB / 0.7523 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005198/0.7463, allocations: 431 kB / 0.7528 GB, free: 376 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7463, allocations: 4 kB / 0.7528 GB, free: 372 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007512/0.747, allocations: 247.5 kB / 0.753 GB, free: 124 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.001442/0.7485, allocations: 0.586 MB / 0.7536 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.7494, allocations: 0.4969 MB / 0.754 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7494, allocations: 0 / 0.754 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.7498, allocations: 280 kB / 0.7543 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009773/0.7508, allocations: 232.3 kB / 0.7545 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.7532, allocations: 1.663 MB / 0.7562 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.7538, allocations: 0.9484 MB / 0.7571 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.7541, allocations: 103.4 kB / 0.7572 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.7541, allocations: 4 kB / 0.7572 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.01963/0.7737, allocations: 12.3 MB / 0.7692 GB, free: 15.78 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1