Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001165/0.001165, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8236/0.8236, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 71.86 kB / 0.5024 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 80.18 MB / 0.5807 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.004993/0.3466, allocations: 4.02 MB / 0.5847 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1506/0.4972, allocations: 150.4 MB / 0.7316 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008141/0.498, allocations: 19.88 kB / 0.7316 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.4987, allocations: 154.5 kB / 0.7317 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.5006, allocations: 464.8 kB / 0.7322 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5026, allocations: 0.7 MB / 0.7329 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.504, allocations: 1.082 MB / 0.7339 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.5049, allocations: 0.4945 MB / 0.7344 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.5055, allocations: 362.6 kB / 0.7348 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.506, allocations: 366.3 kB / 0.7351 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.5063, allocations: 84 kB / 0.7352 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007429/0.507, allocations: 359.7 kB / 0.7355 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.5073, allocations: 235.3 kB / 0.7357 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004568/0.5078, allocations: 429.7 kB / 0.7362 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.5098, allocations: 1.231 MB / 0.7374 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5099, allocations: 4 kB / 0.7374 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5099, allocations: 0 / 0.7374 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.5099, allocations: 0 / 0.7374 GB, free: 13.27 MB / 0.5762 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.002346/0.5123, allocations: 1.177 MB / 0.7385 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5123, allocations: 8.031 kB / 0.7385 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003206/0.5127, allocations: 99.81 kB / 0.7386 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.5137, allocations: 0.6521 MB / 0.7393 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.5137, allocations: 49.31 kB / 0.7393 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.5138, allocations: 63.94 kB / 0.7394 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.515, allocations: 0.7009 MB / 0.74 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.515, allocations: 7.938 kB / 0.7401 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.5151, allocations: 28 kB / 0.7401 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.5151, allocations: 16 kB / 0.7401 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5165, allocations: 0.922 MB / 0.741 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.5199, allocations: 2.343 MB / 0.7433 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.521, allocations: 0.5931 MB / 0.7439 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.5214, allocations: 227.3 kB / 0.7441 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.5215, allocations: 28.59 kB / 0.7441 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/0.5222, allocations: 354.4 kB / 0.7444 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.5222, allocations: 0 / 0.7444 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001426/0.5237, allocations: 0.7058 MB / 0.7451 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.5238, allocations: 239.8 kB / 0.7454 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007878/0.5246, allocations: 0.594 MB / 0.7459 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.5247, allocations: 37.7 kB / 0.746 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.525, allocations: 340.5 kB / 0.7463 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.5252, allocations: 197.1 kB / 0.7465 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.5254, allocations: 138.2 kB / 0.7466 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5256, allocations: 378.7 kB / 0.747 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.5259, allocations: 189.2 kB / 0.7472 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.5264, allocations: 297.9 kB / 0.7474 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.5272, allocations: 484.2 kB / 0.7479 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5272, allocations: 0 / 0.7479 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001106/0.5283, allocations: 0.5997 MB / 0.7485 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5283, allocations: 11.94 kB / 0.7485 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5283, allocations: 0 / 0.7485 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.5283, allocations: 4 kB / 0.7485 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.5289, allocations: 131.8 kB / 0.7486 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/0.5289, allocations: 4 kB / 0.7486 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.5295, allocations: 71.59 kB / 0.7487 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.5296, allocations: 35.97 kB / 0.7487 GB, free: 1.191 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.0003415/0.5299, allocations: 242.3 kB / 0.749 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.5301, allocations: 75.06 kB / 0.749 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.5316, allocations: 0.7467 MB / 0.7498 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5316, allocations: 8 kB / 0.7498 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5316, allocations: 0 / 0.7498 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.5316, allocations: 3.984 kB / 0.7498 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2745/0.8061, allocations: 0.8924 MB / 0.7507 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.8062, allocations: 0.75 kB / 0.7507 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.8067, allocations: 112.4 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.439e-05/0.8067, allocations: 6.578 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.8069, allocations: 19.72 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.8069, allocations: 6.625 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8069, allocations: 3.5 kB / 0.7508 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.8082, allocations: 0.6327 MB / 0.7514 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.8086, allocations: 245.8 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.8089, allocations: 15 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/0.8096, allocations: 42.12 kB / 0.7517 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.8098, allocations: 52.89 kB / 0.7518 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.8098, allocations: 25.5 kB / 0.7518 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008222/0.8107, allocations: 430.1 kB / 0.7522 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8107, allocations: 0 / 0.7522 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001099/0.8118, allocations: 251.2 kB / 0.7524 GB, free: 166.6 MB / 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.00148/0.8133, allocations: 0.5865 MB / 0.753 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.8148, allocations: 0.6598 MB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8148, allocations: 2.688 kB / 0.7537 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.8153, allocations: 275.9 kB / 0.7539 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.8164, allocations: 270 kB / 0.7542 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.8192, allocations: 1.351 MB / 0.7555 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005945/0.8198, allocations: 0.9553 MB / 0.7564 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.8201, allocations: 99.91 kB / 0.7565 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.8201, allocations: 0 / 0.7565 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.01617/0.8362, allocations: 12.3 MB / 0.7685 GB, free: 156.9 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile clang++ -std=c++17 -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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1