Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="IDEAS_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.00157/0.001569, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001793/0.001794, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8008/0.8008, allocations: 132.2 MB / 422.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 0.5019 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4016, allocations: 80.19 MB / 0.5802 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005365/0.407, allocations: 4.046 MB / 0.5842 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5788, allocations: 148.2 MB / 0.7289 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.58, allocations: 19.88 kB / 0.7289 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.5809, allocations: 127 kB / 0.729 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.5832, allocations: 401.4 kB / 0.7294 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5854, allocations: 0.6423 MB / 0.73 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001733/0.5871, allocations: 1.075 MB / 0.7311 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009429/0.5881, allocations: 0.5062 MB / 0.7316 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.5888, allocations: 362.6 kB / 0.7319 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.5902, allocations: 366.3 kB / 0.7323 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.5904, allocations: 84 kB / 0.7323 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.5914, allocations: 363.7 kB / 0.7327 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.5918, allocations: 227.3 kB / 0.7329 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007409/0.5926, allocations: 433.7 kB / 0.7333 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.5942, allocations: 0.9511 MB / 0.7343 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5942, allocations: 0 / 0.7343 GB, free: 176 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5943, allocations: 0 / 0.7343 GB, free: 176 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.5943, allocations: 0 / 0.7343 GB, free: 176 kB / 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.002455/0.5968, allocations: 1.19 MB / 0.7354 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5968, allocations: 11.97 kB / 0.7354 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.5972, allocations: 107.8 kB / 0.7355 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5983, allocations: 0.6482 MB / 0.7362 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.5984, allocations: 49.31 kB / 0.7362 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.5985, allocations: 60 kB / 0.7363 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.5997, allocations: 0.7048 MB / 0.737 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5998, allocations: 0 / 0.737 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.5998, allocations: 28 kB / 0.737 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.5999, allocations: 20 kB / 0.737 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.6012, allocations: 0.922 MB / 0.7379 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/0.6048, allocations: 2.345 MB / 0.7402 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/0.6057, allocations: 0.5954 MB / 0.7408 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.6061, allocations: 223.3 kB / 0.741 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.889e-05/0.6061, allocations: 28.58 kB / 0.741 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006651/0.6068, allocations: 354.4 kB / 0.7414 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.474e-06/0.6068, allocations: 0 / 0.7414 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001286/0.6081, allocations: 0.702 MB / 0.742 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.6083, allocations: 239.8 kB / 0.7423 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/0.6091, allocations: 0.59 MB / 0.7428 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.6092, allocations: 41.69 kB / 0.7429 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.6095, allocations: 340.7 kB / 0.7432 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6096, allocations: 201.1 kB / 0.7434 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6098, allocations: 138.2 kB / 0.7435 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.61, allocations: 382.7 kB / 0.7439 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.6104, allocations: 189.2 kB / 0.7441 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.6108, allocations: 289.9 kB / 0.7444 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.6115, allocations: 472.2 kB / 0.7448 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6115, allocations: 3.938 kB / 0.7448 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009908/0.6125, allocations: 0.6035 MB / 0.7454 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6125, allocations: 8 kB / 0.7454 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6125, allocations: 0 / 0.7454 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.6126, allocations: 4 kB / 0.7454 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.613, allocations: 131.8 kB / 0.7455 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6131, allocations: 7.984 kB / 0.7455 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.6136, allocations: 75.59 kB / 0.7456 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.6136, allocations: 31.97 kB / 0.7456 GB, free: 4.09 MB / 0.5762 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.0003307/0.614, allocations: 242.3 kB / 0.7459 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6141, allocations: 79 kB / 0.7459 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.6155, allocations: 0.7467 MB / 0.7467 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6155, allocations: 11.98 kB / 0.7467 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6155, allocations: 0 / 0.7467 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6155, allocations: 3.984 kB / 0.7467 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.6165, allocations: 0.8934 MB / 0.7476 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6165, allocations: 0 / 0.7476 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.617, allocations: 123.8 kB / 0.7477 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.617, allocations: 4 kB / 0.7477 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.617, allocations: 19.98 kB / 0.7477 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.617, allocations: 0 / 0.7477 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.617, allocations: 11.94 kB / 0.7477 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.618, allocations: 0.6301 MB / 0.7483 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.6183, allocations: 239.9 kB / 0.7486 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6184, allocations: 20 kB / 0.7486 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.6189, allocations: 43.95 kB / 0.7486 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.619, allocations: 48.53 kB / 0.7487 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/0.619, allocations: 23.98 kB / 0.7487 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005486/0.6196, allocations: 435 kB / 0.7491 GB, free: 436 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6196, allocations: 0 / 0.7491 GB, free: 436 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008047/0.6204, allocations: 243.5 kB / 0.7493 GB, free: 192 kB / 0.5762 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.2869/0.9073, allocations: 0.5779 MB / 0.7499 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.9091, allocations: 0.6613 MB / 0.7505 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.9091, allocations: 1.312 kB / 0.7506 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.9096, allocations: 275 kB / 0.7508 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.9109, allocations: 260.6 kB / 0.7511 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.9134, allocations: 1.659 MB / 0.7527 GB, free: 166 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.914, allocations: 0.9551 MB / 0.7536 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.9143, allocations: 95.73 kB / 0.7537 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.9143, allocations: 0.9062 kB / 0.7537 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.02241/0.9367, allocations: 12.3 MB / 0.7657 GB, free: 159.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile make -j1 -f IDEAS_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/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.DecemberToJanuaryCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuaryFunctions.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.DecemberToJanuaryCalcHelperMain.o] Error 1