Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 104.7 kB / 15.99 MB, free: 6.309 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.001435/0.001435, allocations: 196.2 kB / 16.91 MB, free: 6.152 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.305/1.305, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8037/0.8037, allocations: 135.2 MB / 425.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.89 kB / 0.5055 GB, free: 8.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.309, allocations: 80.92 MB / 0.5846 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.004343/0.3134, allocations: 4.041 MB / 0.5885 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4703, allocations: 148.2 MB / 0.7332 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006441/0.471, allocations: 15.94 kB / 0.7333 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.4715, allocations: 131 kB / 0.7334 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.4729, allocations: 396.9 kB / 0.7338 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4744, allocations: 0.6347 MB / 0.7344 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.4755, allocations: 1.075 MB / 0.7354 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.4762, allocations: 0.5061 MB / 0.7359 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.4767, allocations: 362.6 kB / 0.7363 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.4771, allocations: 370.3 kB / 0.7366 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.4773, allocations: 88 kB / 0.7367 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.4779, allocations: 359.7 kB / 0.7371 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.4781, allocations: 227.3 kB / 0.7373 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00038/0.4785, allocations: 433.7 kB / 0.7377 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.4796, allocations: 0.9394 MB / 0.7386 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4796, allocations: 4 kB / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4796, allocations: 0 / 0.7386 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4797, allocations: 8 kB / 0.7386 GB, free: 12.48 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.001842/0.4815, allocations: 1.177 MB / 0.7398 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4815, allocations: 9.109 kB / 0.7398 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002735/0.4818, allocations: 95.81 kB / 0.7399 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.4827, allocations: 0.6638 MB / 0.7405 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.4828, allocations: 53.25 kB / 0.7406 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.4829, allocations: 60 kB / 0.7406 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.484, allocations: 0.697 MB / 0.7413 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4841, allocations: 3.984 kB / 0.7413 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.4841, allocations: 28 kB / 0.7413 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4841, allocations: 16 kB / 0.7413 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.4855, allocations: 0.9181 MB / 0.7422 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.4887, allocations: 2.348 MB / 0.7445 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000944/0.4897, allocations: 0.6085 MB / 0.7451 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.49, allocations: 223.3 kB / 0.7453 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.4901, allocations: 24.61 kB / 0.7454 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/0.4907, allocations: 342.4 kB / 0.7457 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.094e-06/0.4907, allocations: 4 kB / 0.7457 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001297/0.492, allocations: 0.7097 MB / 0.7464 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.4922, allocations: 243.9 kB / 0.7466 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/0.4929, allocations: 0.59 MB / 0.7472 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.493, allocations: 37.7 kB / 0.7472 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.4933, allocations: 336.5 kB / 0.7476 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.4934, allocations: 201.1 kB / 0.7477 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.4937, allocations: 146.3 kB / 0.7479 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4938, allocations: 378.7 kB / 0.7482 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.4942, allocations: 189.2 kB / 0.7484 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.4946, allocations: 289.9 kB / 0.7487 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.4953, allocations: 476.2 kB / 0.7492 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4953, allocations: 0 / 0.7492 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009811/0.4963, allocations: 0.5997 MB / 0.7497 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4963, allocations: 8.156 kB / 0.7498 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4964, allocations: 4 kB / 0.7498 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4964, allocations: 4 kB / 0.7498 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.4969, allocations: 127.8 kB / 0.7499 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4969, allocations: 11.97 kB / 0.7499 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.4973, allocations: 74.09 kB / 0.75 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.4974, allocations: 31.98 kB / 0.75 GB, free: 420 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.0003207/0.4977, allocations: 250.5 kB / 0.7502 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4979, allocations: 75.16 kB / 0.7503 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2273/0.7252, allocations: 0.7411 MB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.7253, allocations: 7.609 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7253, allocations: 1.188 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.7253, allocations: 3.422 kB / 0.751 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.7265, allocations: 0.8919 MB / 0.7519 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.7266, allocations: 5.188 kB / 0.7519 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.727, allocations: 117.5 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.727, allocations: 3.406 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.7271, allocations: 19.61 kB / 0.752 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.7271, allocations: 4.109 kB / 0.7521 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7271, allocations: 3.438 kB / 0.7521 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.7281, allocations: 0.6399 MB / 0.7527 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.7284, allocations: 237 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.7285, allocations: 13.77 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.7289, allocations: 47.58 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7291, allocations: 48.09 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.022e-05/0.7291, allocations: 23.83 kB / 0.753 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005266/0.7297, allocations: 429.6 kB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.82e-07/0.7297, allocations: 0.8438 kB / 0.7534 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006662/0.7303, allocations: 251.8 kB / 0.7537 GB, free: 164.3 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.001777/0.7321, allocations: 0.6009 MB / 0.7543 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.7335, allocations: 0.6571 MB / 0.7549 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7335, allocations: 0.875 kB / 0.7549 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.7339, allocations: 280.9 kB / 0.7552 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.735, allocations: 258.9 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.002187/0.7372, allocations: 1.663 MB / 0.7571 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.7376, allocations: 0.956 MB / 0.758 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.7379, allocations: 100.4 kB / 0.7581 GB, free: 162 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.7379, allocations: 0 / 0.7581 GB, free: 162 MB / 0.5762 GB Notification: Performance of Templates: time 0.01443/0.7524, allocations: 12.3 MB / 0.7701 GB, free: 152.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStartCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStartFunctions.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_usingTwoYearDataNegativeStartCalcHelperMain.o] Error 1