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.00128/0.00128, allocations: 106.1 kB / 15.99 MB, free: 6.359 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.001294/0.001294, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7605/0.7605, allocations: 132.2 MB / 422.9 MB, free: 6.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 63.91 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4295, allocations: 80.2 MB / 0.5802 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006164/0.4357, allocations: 4.203 MB / 0.5843 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1646/0.6003, allocations: 148.3 MB / 0.7291 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.6014, allocations: 11.94 kB / 0.7291 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.6021, allocations: 131 kB / 0.7292 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.604, allocations: 421.3 kB / 0.7296 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.6059, allocations: 0.7126 MB / 0.7303 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.6072, allocations: 1.214 MB / 0.7315 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007544/0.608, allocations: 0.554 MB / 0.7321 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.6086, allocations: 426.5 kB / 0.7325 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.609, allocations: 442 kB / 0.7329 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.6092, allocations: 96 kB / 0.733 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.6106, allocations: 0.831 MB / 0.7338 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.6108, allocations: 255.1 kB / 0.734 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.6112, allocations: 493.4 kB / 0.7345 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6128, allocations: 1.209 MB / 0.7357 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6128, allocations: 0 / 0.7357 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6128, allocations: 4 kB / 0.7357 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.6128, allocations: 0 / 0.7357 GB, free: 14.68 MB / 0.5762 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.002155/0.615, allocations: 1.35 MB / 0.737 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.615, allocations: 8.031 kB / 0.737 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.6162, allocations: 199.5 kB / 0.7372 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009158/0.6171, allocations: 0.6994 MB / 0.7379 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.6172, allocations: 54 kB / 0.7379 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.981e-05/0.6173, allocations: 64 kB / 0.738 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.6187, allocations: 0.8333 MB / 0.7388 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.6188, allocations: 0 / 0.7388 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.6189, allocations: 32 kB / 0.7388 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.6189, allocations: 23.98 kB / 0.7389 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.6207, allocations: 1.073 MB / 0.7399 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.6243, allocations: 2.364 MB / 0.7422 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.6257, allocations: 0.7375 MB / 0.7429 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.6263, allocations: 306.7 kB / 0.7432 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.608e-05/0.6264, allocations: 32.67 kB / 0.7433 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/0.6273, allocations: 471.1 kB / 0.7437 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/0.6273, allocations: 0 / 0.7437 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003434/0.6308, allocations: 1.16 MB / 0.7448 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6309, allocations: 200.5 kB / 0.745 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.6316, allocations: 0.5978 MB / 0.7456 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.6317, allocations: 37.7 kB / 0.7457 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.632, allocations: 364.4 kB / 0.746 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.6322, allocations: 232.6 kB / 0.7462 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.6325, allocations: 162.5 kB / 0.7464 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6326, allocations: 374.8 kB / 0.7467 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.6333, allocations: 265.8 kB / 0.747 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.634, allocations: 364 kB / 0.7473 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.6353, allocations: 0.6119 MB / 0.7479 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6353, allocations: 4 kB / 0.7479 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002253/0.6376, allocations: 0.8525 MB / 0.7488 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.6376, allocations: 4 kB / 0.7488 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6376, allocations: 7.984 kB / 0.7488 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/0.6383, allocations: 80.91 kB / 0.7489 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007067/0.639, allocations: 163.8 kB / 0.749 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3234/0.9625, allocations: 1.635 MB / 0.7506 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.9635, allocations: 89.59 kB / 0.7507 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.9636, allocations: 35.03 kB / 0.7507 GB, free: 164.8 MB / 0.5762 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.0005337/0.9642, allocations: 257.7 kB / 0.751 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.9644, allocations: 77.41 kB / 0.7511 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.9676, allocations: 1.101 MB / 0.7521 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.9676, allocations: 10.66 kB / 0.7521 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.9676, allocations: 0.6562 kB / 0.7521 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.9677, allocations: 11.48 kB / 0.7521 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.969, allocations: 0.8332 MB / 0.753 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.969, allocations: 2.344 kB / 0.753 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.9697, allocations: 156.9 kB / 0.7531 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/0.9702, allocations: 78.55 kB / 0.7532 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.9703, allocations: 27.03 kB / 0.7532 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9722, allocations: 1.671 MB / 0.7548 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9722, allocations: 0 / 0.7548 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.9746, allocations: 0.9061 MB / 0.7557 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/0.975, allocations: 261.2 kB / 0.756 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.9751, allocations: 18.44 kB / 0.756 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.9757, allocations: 62.03 kB / 0.7561 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.9759, allocations: 64.19 kB / 0.7561 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/0.976, allocations: 36.03 kB / 0.7562 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007075/0.9767, allocations: 435.1 kB / 0.7566 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9767, allocations: 5.438 kB / 0.7566 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001132/0.9779, allocations: 299.4 kB / 0.7569 GB, free: 161.6 MB / 0.5762 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.001598/0.9795, allocations: 0.6083 MB / 0.7575 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00318/0.9827, allocations: 1.01 MB / 0.7584 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.9827, allocations: 4.5 kB / 0.7584 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.9838, allocations: 0.5167 MB / 0.7589 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.9853, allocations: 287.6 kB / 0.7592 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.9894, allocations: 2.056 MB / 0.7612 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.9899, allocations: 0.9911 MB / 0.7622 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.9904, allocations: 120.4 kB / 0.7623 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.9904, allocations: 0 / 0.7623 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.02372/1.014, allocations: 17.47 MB / 0.7794 GB, free: 144.7 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.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