Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 109.5 kB / 15.99 MB, free: 6.344 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.00156/0.00156, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7784/0.7784, allocations: 132.2 MB / 422.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.5019 GB, free: 12.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4126, allocations: 80.2 MB / 0.5802 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005366/0.418, allocations: 4.038 MB / 0.5842 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.159/0.5771, allocations: 148.2 MB / 0.7289 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.5781, allocations: 15.94 kB / 0.7289 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005525/0.5787, allocations: 131 kB / 0.729 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.5803, allocations: 397.7 kB / 0.7294 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.582, allocations: 0.638 MB / 0.73 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.5832, allocations: 1.078 MB / 0.7311 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006978/0.5839, allocations: 0.5023 MB / 0.7316 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.5844, allocations: 358.6 kB / 0.7319 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004784/0.5849, allocations: 367 kB / 0.7323 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.585, allocations: 84 kB / 0.7324 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007345/0.5858, allocations: 367.7 kB / 0.7327 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.586, allocations: 223.3 kB / 0.7329 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.5864, allocations: 429.7 kB / 0.7333 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5875, allocations: 0.9511 MB / 0.7343 GB, free: 200 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.5875, allocations: 0 / 0.7343 GB, free: 200 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5875, allocations: 3.938 kB / 0.7343 GB, free: 196 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.5876, allocations: 0 / 0.7343 GB, free: 196 kB / 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.001844/0.5894, allocations: 1.177 MB / 0.7354 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5895, allocations: 12.03 kB / 0.7354 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.5898, allocations: 99.8 kB / 0.7355 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.5906, allocations: 0.6599 MB / 0.7362 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.5907, allocations: 45.31 kB / 0.7362 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.5907, allocations: 60 kB / 0.7363 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5918, allocations: 0.7009 MB / 0.7369 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5919, allocations: 3.938 kB / 0.7369 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.5919, allocations: 28 kB / 0.737 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5919, allocations: 20 kB / 0.737 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.5932, allocations: 0.9181 MB / 0.7379 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.5962, allocations: 2.349 MB / 0.7402 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.5971, allocations: 0.5954 MB / 0.7408 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.5974, allocations: 223.2 kB / 0.741 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.208e-05/0.5975, allocations: 32.58 kB / 0.741 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006149/0.5981, allocations: 350.4 kB / 0.7413 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/0.5981, allocations: 0 / 0.7413 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.001206/0.5993, allocations: 0.7058 MB / 0.742 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.5995, allocations: 243.9 kB / 0.7423 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.6002, allocations: 0.59 MB / 0.7428 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.6002, allocations: 37.7 kB / 0.7429 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.6005, allocations: 336.6 kB / 0.7432 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.6007, allocations: 205 kB / 0.7434 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.6009, allocations: 138.2 kB / 0.7435 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.601, allocations: 382.7 kB / 0.7439 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.6013, allocations: 185.2 kB / 0.7441 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.6017, allocations: 297.9 kB / 0.7444 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.6024, allocations: 472.2 kB / 0.7448 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6024, allocations: 4 kB / 0.7448 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009043/0.6033, allocations: 0.6036 MB / 0.7454 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.6033, allocations: 4 kB / 0.7454 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6034, allocations: 8 kB / 0.7454 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6034, allocations: 4 kB / 0.7454 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.6039, allocations: 131.8 kB / 0.7455 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.6039, allocations: 4 kB / 0.7455 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.6044, allocations: 63.66 kB / 0.7456 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.6044, allocations: 35.97 kB / 0.7456 GB, free: 4.121 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.000298/0.6047, allocations: 246.3 kB / 0.7459 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6048, allocations: 71.06 kB / 0.7459 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.6062, allocations: 0.7584 MB / 0.7467 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.6062, allocations: 11.94 kB / 0.7467 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6062, allocations: 0 / 0.7467 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.6062, allocations: 7.984 kB / 0.7467 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.6071, allocations: 0.8818 MB / 0.7476 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6071, allocations: 4 kB / 0.7476 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.6075, allocations: 123.8 kB / 0.7477 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.6075, allocations: 0 / 0.7477 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.6076, allocations: 23.98 kB / 0.7477 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.6076, allocations: 4 kB / 0.7477 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6076, allocations: 3.938 kB / 0.7477 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.6085, allocations: 0.6301 MB / 0.7483 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.6087, allocations: 243.9 kB / 0.7486 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.761e-05/0.6088, allocations: 20 kB / 0.7486 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.6093, allocations: 39.95 kB / 0.7486 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.6094, allocations: 60.47 kB / 0.7487 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.6094, allocations: 23.98 kB / 0.7487 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004757/0.6099, allocations: 431 kB / 0.7491 GB, free: 460 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6099, allocations: 0 / 0.7491 GB, free: 460 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006768/0.6106, allocations: 239.5 kB / 0.7493 GB, free: 220 kB / 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.2825/0.8931, allocations: 0.5854 MB / 0.7499 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001786/0.8949, allocations: 0.6592 MB / 0.7506 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.8949, allocations: 0.75 kB / 0.7506 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.8955, allocations: 279.2 kB / 0.7508 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.8968, allocations: 261.4 kB / 0.7511 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.8991, allocations: 1.656 MB / 0.7527 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.8996, allocations: 0.9488 MB / 0.7536 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.8999, allocations: 110.9 kB / 0.7537 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.8999, allocations: 0 / 0.7537 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02056/0.9205, allocations: 12.3 MB / 0.7657 GB, free: 159.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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/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_usingTwoYearDataCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataFunctions.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_usingTwoYearDataCalcHelperMain.o] Error 1