Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 104.8 kB / 16.41 MB, free: 6.496 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.001172/0.001172, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 66.89 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006408/0.1568, allocations: 4.191 MB / 0.6644 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5253/0.6821, allocations: 150.5 MB / 0.8113 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.6829, allocations: 18.84 kB / 0.8114 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.6837, allocations: 163.9 kB / 0.8115 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.6854, allocations: 485.1 kB / 0.812 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.6874, allocations: 0.7869 MB / 0.8128 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.6889, allocations: 1.231 MB / 0.814 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009709/0.6899, allocations: 0.5542 MB / 0.8145 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007283/0.6906, allocations: 424.6 kB / 0.8149 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/0.6913, allocations: 432.6 kB / 0.8153 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.6916, allocations: 97.31 kB / 0.8154 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.6933, allocations: 0.8562 MB / 0.8162 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.6936, allocations: 257.2 kB / 0.8165 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.6942, allocations: 493.2 kB / 0.817 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.6965, allocations: 1.639 MB / 0.8186 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6966, allocations: 0 / 0.8186 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6966, allocations: 3.75 kB / 0.8186 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.287e-05/0.6966, allocations: 0 / 0.8186 GB, free: 9.855 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003432/0.7001, allocations: 1.354 MB / 0.8199 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.7001, allocations: 11.16 kB / 0.8199 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.7017, allocations: 193.4 kB / 0.8201 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.7031, allocations: 0.7231 MB / 0.8208 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.7031, allocations: 51.47 kB / 0.8208 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.7033, allocations: 67.94 kB / 0.8209 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.705, allocations: 0.8309 MB / 0.8217 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.705, allocations: 0 / 0.8217 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.7051, allocations: 27.75 kB / 0.8217 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.7051, allocations: 18.16 kB / 0.8218 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.7071, allocations: 1.078 MB / 0.8228 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003847/0.711, allocations: 2.327 MB / 0.8251 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7124, allocations: 0.7436 MB / 0.8258 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006231/0.7131, allocations: 309.8 kB / 0.8261 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.7132, allocations: 31.05 kB / 0.8261 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009062/0.7141, allocations: 468 kB / 0.8266 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.7141, allocations: 0 / 0.8266 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003472/0.7176, allocations: 1.169 MB / 0.8277 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.7177, allocations: 190.6 kB / 0.8279 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000822/0.7185, allocations: 0.6011 MB / 0.8285 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.7186, allocations: 36.42 kB / 0.8285 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.7189, allocations: 362.5 kB / 0.8289 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.7191, allocations: 235.4 kB / 0.8291 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.7194, allocations: 160 kB / 0.8292 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7195, allocations: 377.8 kB / 0.8296 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.7202, allocations: 269.1 kB / 0.8299 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.7209, allocations: 361.5 kB / 0.8302 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.7223, allocations: 0.6151 MB / 0.8308 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7223, allocations: 3.938 kB / 0.8308 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002171/0.7245, allocations: 0.8453 MB / 0.8316 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.7245, allocations: 4.406 kB / 0.8316 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7245, allocations: 6.656 kB / 0.8316 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.7251, allocations: 83.33 kB / 0.8317 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.7258, allocations: 158.1 kB / 0.8319 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.7281, allocations: 1.652 MB / 0.8335 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000726/0.7289, allocations: 84.92 kB / 0.8336 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.729, allocations: 34.59 kB / 0.8336 GB, free: 15.35 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.7294, allocations: 257.3 kB / 0.8338 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.7296, allocations: 80.66 kB / 0.8339 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.7322, allocations: 1.087 MB / 0.835 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.7323, allocations: 10.16 kB / 0.835 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7323, allocations: 4 kB / 0.835 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.7323, allocations: 7.969 kB / 0.835 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.7334, allocations: 0.8457 MB / 0.8358 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.7334, allocations: 3.938 kB / 0.8358 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.734, allocations: 157.8 kB / 0.836 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.7345, allocations: 74.42 kB / 0.8361 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/0.7346, allocations: 27.78 kB / 0.8361 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.7366, allocations: 1.67 MB / 0.8377 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7366, allocations: 3.938 kB / 0.8377 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.7386, allocations: 0.8949 MB / 0.8386 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.739, allocations: 273.1 kB / 0.8389 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.7391, allocations: 16.72 kB / 0.8389 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.7397, allocations: 64.34 kB / 0.8389 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.7399, allocations: 62.5 kB / 0.839 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-05/0.74, allocations: 38.56 kB / 0.839 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005236/0.7405, allocations: 433 kB / 0.8394 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7405, allocations: 0 / 0.8394 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009401/0.7414, allocations: 296.2 kB / 0.8397 GB, free: 10.97 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/0.7432, allocations: 0.6121 MB / 0.8403 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.7453, allocations: 0.826 MB / 0.8411 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7453, allocations: 0 / 0.8411 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.7463, allocations: 0.5125 MB / 0.8416 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.7474, allocations: 287 kB / 0.8419 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/0.7513, allocations: 1.699 MB / 0.8436 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.7519, allocations: 0.9916 MB / 0.8445 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.7523, allocations: 115.4 kB / 0.8446 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.7523, allocations: 0 / 0.8446 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of Templates: time 0.02563/0.778, allocations: 17.7 MB / 0.8619 GB, free: 5.973 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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/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.ReaderTMY3HDirNorCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorFunctions.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.ReaderTMY3HDirNorCalcHelperMain.o] Error 1