Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008014/0.008014, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001564/0.001564, allocations: 193.2 kB / 16.79 MB, free: 5.816 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.458/1.458, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.1 MB / 425.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 64.53 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 80.92 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.007583/0.2206, allocations: 4.037 MB / 0.5883 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5805/0.8012, allocations: 148.1 MB / 0.7329 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000867/0.8022, allocations: 20.75 kB / 0.7329 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.8027, allocations: 130.7 kB / 0.7331 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.8044, allocations: 377.4 kB / 0.7334 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.8062, allocations: 0.6216 MB / 0.734 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.8076, allocations: 1.01 MB / 0.735 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.8085, allocations: 495.5 kB / 0.7355 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.809, allocations: 306.4 kB / 0.7358 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005193/0.8095, allocations: 340.7 kB / 0.7361 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.8097, allocations: 38.62 kB / 0.7361 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009064/0.8106, allocations: 317.9 kB / 0.7364 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.8108, allocations: 188.1 kB / 0.7366 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004368/0.8113, allocations: 383.9 kB / 0.737 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.8124, allocations: 0.9261 MB / 0.7379 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8125, allocations: 0 / 0.7379 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8125, allocations: 3.469 kB / 0.7379 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.8125, allocations: 0 / 0.7379 GB, free: 12.04 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.002114/0.8146, allocations: 1.183 MB / 0.7391 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.8147, allocations: 9.531 kB / 0.7391 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.815, allocations: 100 kB / 0.7392 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.816, allocations: 0.6527 MB / 0.7398 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.816, allocations: 51.52 kB / 0.7398 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.8161, allocations: 59.78 kB / 0.7399 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.8173, allocations: 0.7004 MB / 0.7406 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8173, allocations: 5.375 kB / 0.7406 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.8174, allocations: 26.88 kB / 0.7406 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.8174, allocations: 16.5 kB / 0.7406 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.8187, allocations: 0.9268 MB / 0.7415 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003291/0.822, allocations: 2.347 MB / 0.7438 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.823, allocations: 0.5939 MB / 0.7444 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.8233, allocations: 226.5 kB / 0.7446 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-05/0.8234, allocations: 34.08 kB / 0.7447 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006231/0.824, allocations: 345.3 kB / 0.745 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 2.374e-06/0.8241, allocations: 0 / 0.745 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.001262/0.8253, allocations: 0.7075 MB / 0.7457 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8255, allocations: 236.9 kB / 0.7459 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.8262, allocations: 0.5988 MB / 0.7465 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.8262, allocations: 36.02 kB / 0.7465 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.8265, allocations: 331.9 kB / 0.7468 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.8267, allocations: 206 kB / 0.747 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.8269, allocations: 138.5 kB / 0.7472 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8271, allocations: 373.5 kB / 0.7475 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.8274, allocations: 192.6 kB / 0.7477 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.8278, allocations: 293.9 kB / 0.748 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.8285, allocations: 479.9 kB / 0.7485 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8285, allocations: 0 / 0.7485 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001001/0.8295, allocations: 0.5962 MB / 0.749 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.8296, allocations: 12.16 kB / 0.749 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.8296, allocations: 0 / 0.749 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8296, allocations: 4 kB / 0.749 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.8301, allocations: 131.8 kB / 0.7492 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.8302, allocations: 4 kB / 0.7492 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.8307, allocations: 83.48 kB / 0.7493 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.8307, allocations: 27.98 kB / 0.7493 GB, free: 4.027 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.0003466/0.8311, allocations: 241.6 kB / 0.7495 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.8312, allocations: 71.16 kB / 0.7496 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.8326, allocations: 0.7572 MB / 0.7503 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.8326, allocations: 8 kB / 0.7503 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8326, allocations: 0 / 0.7503 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8327, allocations: 3.984 kB / 0.7503 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.8337, allocations: 0.8935 MB / 0.7512 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8337, allocations: 4.812 kB / 0.7512 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.8341, allocations: 119.8 kB / 0.7513 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.8341, allocations: 7.75 kB / 0.7513 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.8342, allocations: 19.98 kB / 0.7514 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8342, allocations: 0 / 0.7514 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.8342, allocations: 4 kB / 0.7514 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.8352, allocations: 0.6456 MB / 0.752 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.8355, allocations: 239 kB / 0.7522 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8356, allocations: 16 kB / 0.7522 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.836, allocations: 43.95 kB / 0.7523 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.8361, allocations: 52.52 kB / 0.7523 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.8362, allocations: 20 kB / 0.7523 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004975/0.8367, allocations: 431 kB / 0.7528 GB, free: 392 kB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8367, allocations: 4 kB / 0.7528 GB, free: 388 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007211/0.8374, allocations: 247.5 kB / 0.753 GB, free: 140 kB / 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.00139/0.8388, allocations: 0.5825 MB / 0.7536 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008723/0.8397, allocations: 0.5008 MB / 0.754 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8397, allocations: 0 / 0.754 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.8401, allocations: 276 kB / 0.7543 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.8412, allocations: 232.5 kB / 0.7545 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.8435, allocations: 1.663 MB / 0.7562 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/0.844, allocations: 0.9523 MB / 0.7571 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.8442, allocations: 99.39 kB / 0.7572 GB, free: 12 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.8443, allocations: 4 kB / 0.7572 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of Templates: time 0.01903/0.8633, allocations: 12.3 MB / 0.7692 GB, free: 15.77 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearDataCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearDataFunctions.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.OverAYear_usingOneYearDataCalcHelperMain.o] Error 1