Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001197/0.001198, allocations: 108.9 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.001054/0.001054, allocations: 189.8 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 80.18 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.004881/0.3519, allocations: 4.021 MB / 0.5847 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1556/0.5076, allocations: 150.4 MB / 0.7316 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.5083, allocations: 15.94 kB / 0.7316 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.5088, allocations: 162.5 kB / 0.7317 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.5104, allocations: 456.8 kB / 0.7322 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.5121, allocations: 0.7118 MB / 0.7329 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.5131, allocations: 1.071 MB / 0.7339 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006707/0.5138, allocations: 0.4984 MB / 0.7344 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.5142, allocations: 362.6 kB / 0.7347 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004261/0.5147, allocations: 362.4 kB / 0.7351 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.5148, allocations: 88 kB / 0.7352 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.5155, allocations: 367.5 kB / 0.7355 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.5157, allocations: 223.3 kB / 0.7357 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.5161, allocations: 425.7 kB / 0.7361 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5174, allocations: 1.235 MB / 0.7374 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5174, allocations: 0 / 0.7374 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5174, allocations: 0 / 0.7374 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.5175, allocations: 0 / 0.7374 GB, free: 13.33 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.001805/0.5193, allocations: 1.181 MB / 0.7385 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.5193, allocations: 8.031 kB / 0.7385 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.5196, allocations: 99.8 kB / 0.7386 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.5205, allocations: 0.6599 MB / 0.7393 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.348e-05/0.5205, allocations: 45.31 kB / 0.7393 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.5206, allocations: 63.98 kB / 0.7394 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5217, allocations: 0.7048 MB / 0.74 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5217, allocations: 7.875 kB / 0.7401 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.5218, allocations: 28 kB / 0.7401 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5218, allocations: 12 kB / 0.7401 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5231, allocations: 0.922 MB / 0.741 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.5262, allocations: 2.352 MB / 0.7433 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.5271, allocations: 0.5892 MB / 0.7439 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.5275, allocations: 227.3 kB / 0.7441 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.997e-05/0.5275, allocations: 32.59 kB / 0.7441 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006104/0.5281, allocations: 346.4 kB / 0.7444 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 1.923e-06/0.5282, allocations: 0 / 0.7444 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001294/0.5295, allocations: 0.7058 MB / 0.7451 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.5296, allocations: 248 kB / 0.7454 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.5303, allocations: 0.5977 MB / 0.746 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.5304, allocations: 37.7 kB / 0.746 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.5306, allocations: 328.5 kB / 0.7463 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.5308, allocations: 201.1 kB / 0.7465 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.531, allocations: 146.2 kB / 0.7466 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5312, allocations: 378.7 kB / 0.747 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.5316, allocations: 181.2 kB / 0.7472 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.532, allocations: 301.8 kB / 0.7475 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007279/0.5328, allocations: 476.2 kB / 0.7479 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5328, allocations: 0 / 0.7479 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009876/0.5338, allocations: 0.5997 MB / 0.7485 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5338, allocations: 11.94 kB / 0.7485 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.5338, allocations: 0 / 0.7485 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.51e-05/0.5339, allocations: 4 kB / 0.7485 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.5344, allocations: 131.8 kB / 0.7486 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5344, allocations: 8.156 kB / 0.7486 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.5349, allocations: 75.42 kB / 0.7487 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.5349, allocations: 27.98 kB / 0.7487 GB, free: 1.246 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.0003395/0.5353, allocations: 242.3 kB / 0.749 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5354, allocations: 75.06 kB / 0.749 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.5368, allocations: 0.7545 MB / 0.7498 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5368, allocations: 7.984 kB / 0.7498 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.5368, allocations: 4 kB / 0.7498 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5369, allocations: 3.984 kB / 0.7498 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2691/0.8059, allocations: 0.884 MB / 0.7507 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.806, allocations: 0.5625 kB / 0.7507 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.8064, allocations: 120 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.8065, allocations: 2.25 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.8065, allocations: 19.83 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.8065, allocations: 2.719 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8065, allocations: 3.469 kB / 0.7508 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8076, allocations: 0.6346 MB / 0.7514 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.8079, allocations: 244.8 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.808, allocations: 18.53 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.8085, allocations: 43.33 kB / 0.7517 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.8086, allocations: 50.28 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.8086, allocations: 25.64 kB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005735/0.8092, allocations: 432.5 kB / 0.7522 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8092, allocations: 0 / 0.7522 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000687/0.8099, allocations: 243 kB / 0.7524 GB, free: 166.8 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.001346/0.8113, allocations: 0.5942 MB / 0.753 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.8127, allocations: 0.6591 MB / 0.7537 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8127, allocations: 0 / 0.7537 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.8131, allocations: 285.6 kB / 0.7539 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.8142, allocations: 264 kB / 0.7542 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.8164, allocations: 1.344 MB / 0.7555 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.817, allocations: 0.9597 MB / 0.7564 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.8173, allocations: 100.5 kB / 0.7565 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/0.8173, allocations: 0.5312 kB / 0.7565 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01576/0.833, allocations: 12.31 MB / 0.7685 GB, free: 157 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStartFunctions.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.ThreeYears_usingTwoYearDataPositiveStartCalcHelperMain.o] Error 1