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.001183/0.001183, allocations: 108.6 kB / 15.99 MB, free: 5.91 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.001141/0.001141, allocations: 193.7 kB / 16.91 MB, free: 5.754 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8709/0.8709, allocations: 135.1 MB / 425.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001489, allocations: 71.89 kB / 0.5055 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4519, allocations: 80.91 MB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.005466/0.4574, allocations: 4.036 MB / 0.5884 GB, free: 21.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.165/0.6225, allocations: 148.2 MB / 0.7332 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.6236, allocations: 19.88 kB / 0.7332 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.6245, allocations: 131 kB / 0.7333 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.6268, allocations: 394.1 kB / 0.7337 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.6292, allocations: 0.6394 MB / 0.7343 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.6311, allocations: 1.078 MB / 0.7354 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.6323, allocations: 0.5023 MB / 0.7359 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.6332, allocations: 366.6 kB / 0.7362 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008196/0.6341, allocations: 366.3 kB / 0.7366 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.6344, allocations: 84 kB / 0.7366 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.6356, allocations: 359.7 kB / 0.737 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000396/0.636, allocations: 231.3 kB / 0.7372 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.6367, allocations: 429.7 kB / 0.7376 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.6384, allocations: 0.9511 MB / 0.7386 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.6384, allocations: 0 / 0.7386 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.491e-06/0.6384, allocations: 0 / 0.7386 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.904e-05/0.6385, allocations: 7.938 kB / 0.7386 GB, free: 12.52 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.004134/0.6427, allocations: 1.176 MB / 0.7397 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.663e-05/0.6428, allocations: 13.11 kB / 0.7397 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.6434, allocations: 99.81 kB / 0.7398 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.6452, allocations: 0.6599 MB / 0.7405 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/0.6453, allocations: 45.31 kB / 0.7405 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.6454, allocations: 60 kB / 0.7406 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.6472, allocations: 0.7009 MB / 0.7412 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6472, allocations: 0 / 0.7412 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.6473, allocations: 28 kB / 0.7413 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.6473, allocations: 16 kB / 0.7413 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.6489, allocations: 0.922 MB / 0.7422 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.6529, allocations: 2.357 MB / 0.7445 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.654, allocations: 0.5967 MB / 0.7451 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.6543, allocations: 219.3 kB / 0.7453 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.6544, allocations: 28.59 kB / 0.7453 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006905/0.6551, allocations: 354.4 kB / 0.7456 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.6551, allocations: 0 / 0.7456 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001442/0.6566, allocations: 0.6981 MB / 0.7463 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.6568, allocations: 251.8 kB / 0.7466 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009277/0.6577, allocations: 0.5861 MB / 0.7471 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.6578, allocations: 37.7 kB / 0.7472 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.6582, allocations: 336.5 kB / 0.7475 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/0.6584, allocations: 205.1 kB / 0.7477 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.6587, allocations: 142.3 kB / 0.7478 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.6589, allocations: 378.7 kB / 0.7482 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.6592, allocations: 189.2 kB / 0.7484 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.6597, allocations: 293.8 kB / 0.7487 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.6605, allocations: 472.2 kB / 0.7491 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6605, allocations: 4 kB / 0.7491 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001086/0.6616, allocations: 0.5997 MB / 0.7497 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6616, allocations: 14.28 kB / 0.7497 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6616, allocations: 4 kB / 0.7497 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6617, allocations: 4 kB / 0.7497 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.6622, allocations: 123.8 kB / 0.7498 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.6622, allocations: 4 kB / 0.7498 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.6627, allocations: 75.33 kB / 0.7499 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.6628, allocations: 31.98 kB / 0.7499 GB, free: 460 kB / 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.0003625/0.6632, allocations: 254.5 kB / 0.7502 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6634, allocations: 67.16 kB / 0.7502 GB, free: 128 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3572/1.021, allocations: 0.7404 MB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/1.021, allocations: 10.58 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.021, allocations: 2.25 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/1.021, allocations: 4.375 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/1.022, allocations: 0.8886 MB / 0.7518 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.023, allocations: 4.328 kB / 0.7519 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/1.023, allocations: 118.9 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/1.023, allocations: 3.062 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/1.023, allocations: 16.95 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/1.023, allocations: 6.688 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.023, allocations: 8.938 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.024, allocations: 0.6353 MB / 0.7526 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/1.025, allocations: 237.9 kB / 0.7528 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.025, allocations: 13.11 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/1.025, allocations: 48.95 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/1.026, allocations: 46.69 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/1.026, allocations: 28.59 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006238/1.026, allocations: 427.8 kB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/1.026, allocations: 0 / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008461/1.027, allocations: 250.3 kB / 0.7536 GB, free: 164.2 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.00141/1.029, allocations: 0.5977 MB / 0.7542 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.03, allocations: 0.6591 MB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.03, allocations: 1 kB / 0.7549 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000508/1.031, allocations: 278.2 kB / 0.7551 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/1.032, allocations: 259.1 kB / 0.7554 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/1.035, allocations: 1.664 MB / 0.757 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/1.035, allocations: 0.9513 MB / 0.7579 GB, free: 162 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/1.035, allocations: 97.28 kB / 0.758 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/1.035, allocations: 1.562 kB / 0.758 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.01789/1.053, allocations: 12.31 MB / 0.77 GB, free: 152.8 MB / 0.5762 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