Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, 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.001415/0.001415, allocations: 199.8 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9679/0.9679, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.69 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.19, allocations: 80.92 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006225/0.1963, allocations: 4.043 MB / 0.5883 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6935/0.8898, allocations: 148.1 MB / 0.7329 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.8907, allocations: 20.22 kB / 0.733 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.8913, allocations: 128.9 kB / 0.7331 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.8929, allocations: 376.5 kB / 0.7334 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.8947, allocations: 0.6251 MB / 0.734 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001442/0.8962, allocations: 1.003 MB / 0.735 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.8971, allocations: 494.1 kB / 0.7355 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.8977, allocations: 311.7 kB / 0.7358 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005839/0.8983, allocations: 341.2 kB / 0.7361 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.8984, allocations: 37.59 kB / 0.7362 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009377/0.8994, allocations: 318 kB / 0.7365 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.8996, allocations: 177.7 kB / 0.7366 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004442/0.9001, allocations: 387.5 kB / 0.737 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.9013, allocations: 0.9326 MB / 0.7379 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9013, allocations: 4 kB / 0.7379 GB, free: 12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9013, allocations: 0 / 0.7379 GB, free: 12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.9013, allocations: 1.062 kB / 0.7379 GB, free: 12 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.002388/0.9037, allocations: 1.177 MB / 0.7391 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.9038, allocations: 12.44 kB / 0.7391 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.9041, allocations: 98.69 kB / 0.7392 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.9052, allocations: 0.6557 MB / 0.7398 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.9052, allocations: 45.56 kB / 0.7398 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.039e-05/0.9053, allocations: 58.81 kB / 0.7399 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.9066, allocations: 0.707 MB / 0.7406 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.9066, allocations: 0 / 0.7406 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.9067, allocations: 29.66 kB / 0.7406 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.9067, allocations: 12.78 kB / 0.7406 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.9081, allocations: 0.9269 MB / 0.7415 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.9116, allocations: 2.347 MB / 0.7438 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/0.9125, allocations: 0.5939 MB / 0.7444 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.9129, allocations: 226.1 kB / 0.7446 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.972e-05/0.913, allocations: 31.58 kB / 0.7447 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.9136, allocations: 353 kB / 0.745 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.976e-06/0.9136, allocations: 0 / 0.745 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001299/0.9149, allocations: 0.7034 MB / 0.7457 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.9151, allocations: 244.6 kB / 0.7459 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.9158, allocations: 0.5919 MB / 0.7465 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.9159, allocations: 36.23 kB / 0.7465 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.9162, allocations: 332.4 kB / 0.7468 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.9164, allocations: 206.5 kB / 0.747 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.9166, allocations: 136.9 kB / 0.7472 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.9168, allocations: 379.9 kB / 0.7475 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.9171, allocations: 187.5 kB / 0.7477 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.9175, allocations: 288 kB / 0.748 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006885/0.9182, allocations: 479.5 kB / 0.7484 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9182, allocations: 1.031 kB / 0.7484 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009925/0.9192, allocations: 0.6016 MB / 0.749 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9193, allocations: 4 kB / 0.749 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.9193, allocations: 7.938 kB / 0.749 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9193, allocations: 4 kB / 0.7491 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.9198, allocations: 127.8 kB / 0.7492 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9198, allocations: 4 kB / 0.7492 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.9204, allocations: 79.34 kB / 0.7493 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.9204, allocations: 36.12 kB / 0.7493 GB, free: 3.984 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.0003655/0.9208, allocations: 241.6 kB / 0.7495 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.921, allocations: 71.16 kB / 0.7496 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.9225, allocations: 0.7564 MB / 0.7503 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9225, allocations: 4 kB / 0.7503 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.9225, allocations: 6.062 kB / 0.7503 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9225, allocations: 3.984 kB / 0.7503 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.9236, allocations: 0.8934 MB / 0.7512 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.9236, allocations: 0 / 0.7512 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.9241, allocations: 119.8 kB / 0.7513 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.9241, allocations: 8.031 kB / 0.7513 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.9241, allocations: 15.98 kB / 0.7513 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.9241, allocations: 4 kB / 0.7513 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9242, allocations: 5.031 kB / 0.7514 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.9252, allocations: 0.6379 MB / 0.752 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.9255, allocations: 239.9 kB / 0.7522 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9257, allocations: 12 kB / 0.7522 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.9261, allocations: 51.95 kB / 0.7523 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.9262, allocations: 52.47 kB / 0.7523 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.9263, allocations: 23.98 kB / 0.7523 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005661/0.9268, allocations: 431 kB / 0.7528 GB, free: 352 kB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9269, allocations: 0 / 0.7528 GB, free: 352 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008213/0.9277, allocations: 247.5 kB / 0.753 GB, free: 104 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.001592/0.9293, allocations: 0.59 MB / 0.7536 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.9304, allocations: 0.4969 MB / 0.754 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.9304, allocations: 4 kB / 0.7541 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.9308, allocations: 279.6 kB / 0.7543 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.932, allocations: 234.2 kB / 0.7545 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.9346, allocations: 1.655 MB / 0.7562 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006895/0.9353, allocations: 0.9538 MB / 0.7571 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.9356, allocations: 107.3 kB / 0.7572 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.9356, allocations: 0 / 0.7572 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of Templates: time 0.02166/0.9573, allocations: 12.3 MB / 0.7692 GB, free: 15.73 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.DecemberToJanuaryCalcHelperMain.o] Error 1