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.001457/0.001457, allocations: 107.8 kB / 16.41 MB, free: 6.504 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.001332/0.001332, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8846/0.8846, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.61 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1847, allocations: 80.92 MB / 0.6654 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.007192/0.1919, allocations: 4.04 MB / 0.6693 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6206/0.8125, allocations: 150.9 MB / 0.8166 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008927/0.8134, allocations: 16.31 kB / 0.8166 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.814, allocations: 158.2 kB / 0.8168 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.8157, allocations: 469 kB / 0.8172 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.8175, allocations: 0.7112 MB / 0.8179 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.8188, allocations: 1.077 MB / 0.819 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006106/0.8194, allocations: 359.8 kB / 0.8193 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.8199, allocations: 365.5 kB / 0.8197 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.8204, allocations: 369.4 kB / 0.82 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.8205, allocations: 84.41 kB / 0.8201 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.8213, allocations: 389.3 kB / 0.8205 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.8215, allocations: 236.8 kB / 0.8207 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000335/0.8219, allocations: 422.9 kB / 0.8211 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.8235, allocations: 1.276 MB / 0.8224 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.8235, allocations: 4 kB / 0.8224 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.31e-07/0.8235, allocations: 0 / 0.8224 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.8235, allocations: 3.5 kB / 0.8224 GB, free: 5.863 MB / 0.5919 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.00193/0.8255, allocations: 1.205 MB / 0.8235 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.8255, allocations: 15.45 kB / 0.8236 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.8258, allocations: 108.3 kB / 0.8237 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.8268, allocations: 0.6804 MB / 0.8243 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.8269, allocations: 44.22 kB / 0.8244 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.827, allocations: 60.62 kB / 0.8244 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.8281, allocations: 0.7044 MB / 0.8251 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.8281, allocations: 2.312 kB / 0.8251 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.8282, allocations: 28.69 kB / 0.8251 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.8282, allocations: 15.44 kB / 0.8252 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.8295, allocations: 0.9252 MB / 0.8261 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.8329, allocations: 2.323 MB / 0.8283 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.8338, allocations: 0.5677 MB / 0.8289 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.8341, allocations: 207.7 kB / 0.8291 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.86e-05/0.8342, allocations: 33.61 kB / 0.8291 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000558/0.8347, allocations: 345.7 kB / 0.8294 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 2.093e-06/0.8347, allocations: 2.812 kB / 0.8295 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001323/0.8361, allocations: 0.7104 MB / 0.8301 GB, free: 312 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.8362, allocations: 236.8 kB / 0.8304 GB, free: 24 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.837, allocations: 0.5949 MB / 0.831 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.8371, allocations: 36.33 kB / 0.831 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.8374, allocations: 334.7 kB / 0.8313 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.8376, allocations: 211.9 kB / 0.8315 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.8378, allocations: 147 kB / 0.8316 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.838, allocations: 374.4 kB / 0.832 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.8383, allocations: 189.5 kB / 0.8322 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.8388, allocations: 296.3 kB / 0.8325 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.8395, allocations: 476.4 kB / 0.8329 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8395, allocations: 3.281 kB / 0.8329 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009901/0.8405, allocations: 0.602 MB / 0.8335 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.8405, allocations: 11.53 kB / 0.8335 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8405, allocations: 0 / 0.8335 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.8405, allocations: 4.656 kB / 0.8335 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/0.841, allocations: 135.3 kB / 0.8337 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.841, allocations: 2.094 kB / 0.8337 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.8415, allocations: 75.34 kB / 0.8337 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.8416, allocations: 32.58 kB / 0.8338 GB, free: 13.75 MB / 0.6075 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.0003765/0.8419, allocations: 250.1 kB / 0.834 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.8421, allocations: 72.78 kB / 0.8341 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.8435, allocations: 0.7592 MB / 0.8348 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.8435, allocations: 5.688 kB / 0.8348 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8435, allocations: 2.125 kB / 0.8348 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.8435, allocations: 3.984 kB / 0.8348 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.8446, allocations: 0.886 MB / 0.8357 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.8446, allocations: 0 / 0.8357 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.845, allocations: 125.6 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.845, allocations: 2.125 kB / 0.8358 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.124e-05/0.8451, allocations: 20 kB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.8451, allocations: 6.109 kB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8451, allocations: 3.125 kB / 0.8358 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009911/0.8461, allocations: 0.6412 MB / 0.8365 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003238/0.8464, allocations: 244.9 kB / 0.8367 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8465, allocations: 21.09 kB / 0.8367 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.8469, allocations: 40.3 kB / 0.8368 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.847, allocations: 54.06 kB / 0.8368 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.8471, allocations: 25.3 kB / 0.8368 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005391/0.8476, allocations: 429.1 kB / 0.8372 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.8476, allocations: 0 / 0.8372 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006899/0.8483, allocations: 240.1 kB / 0.8375 GB, free: 11.36 MB / 0.6075 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.001866/0.8502, allocations: 0.6044 MB / 0.8381 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009098/0.8511, allocations: 497.2 kB / 0.8385 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8511, allocations: 0 / 0.8385 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.8515, allocations: 252.5 kB / 0.8388 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.8525, allocations: 260.1 kB / 0.839 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.8548, allocations: 1.364 MB / 0.8404 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.8554, allocations: 0.9497 MB / 0.8413 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.8557, allocations: 103.9 kB / 0.8414 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.8557, allocations: 0 / 0.8414 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.02112/0.8768, allocations: 12.43 MB / 0.8535 GB, free: 14.22 MB / 0.6231 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++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-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