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.0009207/0.0009207, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.267/1.267, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8837/0.8837, allocations: 135.3 MB / 427.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8.688 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 82.31 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.004204/0.1545, allocations: 3.632 MB / 0.5922 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3978/0.5523, allocations: 146.5 MB / 0.7352 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/0.5527, allocations: 18.81 kB / 0.7353 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.5531, allocations: 129.9 kB / 0.7354 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009932/0.5541, allocations: 388.1 kB / 0.7357 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.5555, allocations: 0.6115 MB / 0.7363 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.5564, allocations: 1.005 MB / 0.7373 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006493/0.5571, allocations: 485 kB / 0.7378 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.5575, allocations: 269 kB / 0.738 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.5578, allocations: 282.1 kB / 0.7383 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.5579, allocations: 18.25 kB / 0.7383 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.5585, allocations: 299.1 kB / 0.7386 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.5586, allocations: 147.4 kB / 0.7388 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.559, allocations: 365.2 kB / 0.7391 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.5599, allocations: 0.9059 MB / 0.74 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5599, allocations: 0.7812 kB / 0.74 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5599, allocations: 3.938 kB / 0.74 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.5599, allocations: 5.281 kB / 0.74 GB, free: 12.57 MB / 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.001486/0.5614, allocations: 1.005 MB / 0.741 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.5614, allocations: 9.531 kB / 0.741 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.5617, allocations: 108.9 kB / 0.7411 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008021/0.5625, allocations: 0.6563 MB / 0.7417 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.5626, allocations: 47.69 kB / 0.7418 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.5626, allocations: 57.72 kB / 0.7418 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009663/0.5636, allocations: 0.7045 MB / 0.7425 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.5636, allocations: 1.312 kB / 0.7425 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.5637, allocations: 29.45 kB / 0.7426 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5637, allocations: 15.53 kB / 0.7426 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5649, allocations: 0.926 MB / 0.7435 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.5677, allocations: 2.359 MB / 0.7458 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/0.5686, allocations: 0.6026 MB / 0.7464 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.5689, allocations: 222.4 kB / 0.7466 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.569, allocations: 25.53 kB / 0.7466 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.5695, allocations: 346.8 kB / 0.7469 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 1.763e-06/0.5695, allocations: 0 / 0.7469 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001066/0.5705, allocations: 0.7083 MB / 0.7476 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.5707, allocations: 244.8 kB / 0.7479 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/0.5713, allocations: 0.5918 MB / 0.7484 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.5713, allocations: 40.77 kB / 0.7485 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.5716, allocations: 333.3 kB / 0.7488 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.5717, allocations: 208.4 kB / 0.749 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.5718, allocations: 59.5 kB / 0.749 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.572, allocations: 377.7 kB / 0.7494 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.5722, allocations: 190.7 kB / 0.7496 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003641/0.5726, allocations: 293 kB / 0.7499 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.5732, allocations: 471.5 kB / 0.7503 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5732, allocations: 0 / 0.7503 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008524/0.5741, allocations: 0.6002 MB / 0.7509 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5741, allocations: 8.219 kB / 0.7509 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5741, allocations: 0 / 0.7509 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5742, allocations: 3.469 kB / 0.7509 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.5747, allocations: 130.7 kB / 0.751 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.5747, allocations: 3.375 kB / 0.751 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.5752, allocations: 92.7 kB / 0.7511 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.5752, allocations: 29.58 kB / 0.7512 GB, free: 5.262 MB / 0.5606 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.0003095/0.5756, allocations: 252 kB / 0.7514 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.5757, allocations: 71.38 kB / 0.7515 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.5769, allocations: 0.7454 MB / 0.7522 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5769, allocations: 8 kB / 0.7522 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5769, allocations: 0 / 0.7522 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.577, allocations: 3.984 kB / 0.7522 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.5779, allocations: 0.8934 MB / 0.7531 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5779, allocations: 0 / 0.7531 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.5783, allocations: 116.8 kB / 0.7532 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5783, allocations: 4 kB / 0.7532 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.5784, allocations: 19.98 kB / 0.7532 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5784, allocations: 8.031 kB / 0.7532 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5784, allocations: 3.938 kB / 0.7532 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008624/0.5792, allocations: 0.6378 MB / 0.7539 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.5795, allocations: 247.9 kB / 0.7541 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/0.5796, allocations: 16.06 kB / 0.7541 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.58, allocations: 59.95 kB / 0.7542 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.5801, allocations: 60.44 kB / 0.7542 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.5802, allocations: 27.98 kB / 0.7542 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004582/0.5807, allocations: 431 kB / 0.7547 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5807, allocations: 0 / 0.7547 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006295/0.5813, allocations: 243.5 kB / 0.7549 GB, free: 1.656 MB / 0.5606 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.001231/0.5825, allocations: 0.5856 MB / 0.7555 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007422/0.5833, allocations: 0.5008 MB / 0.7559 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5833, allocations: 0 / 0.7559 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.5837, allocations: 283.6 kB / 0.7562 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5847, allocations: 238.6 kB / 0.7564 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.5867, allocations: 1.676 MB / 0.7581 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.5873, allocations: 0.9523 MB / 0.759 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.5875, allocations: 99.39 kB / 0.7591 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.5875, allocations: 3.938 kB / 0.7591 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.01711/0.6046, allocations: 12.22 MB / 0.771 GB, free: 1.352 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