Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009383/0.009383, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001999/0.002, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.734/1.734, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002984/0.002984, allocations: 286.6 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.276/1.276, allocations: 169.2 MB / 0.4984 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 89 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3383, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.01029/0.3487, allocations: 4.426 MB / 0.6844 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.8113/1.16, allocations: 148.2 MB / 0.8292 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/1.161, allocations: 14.59 kB / 0.8292 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007478/1.162, allocations: 143.6 kB / 0.8293 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/1.164, allocations: 437.8 kB / 0.8297 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.167, allocations: 0.7191 MB / 0.8304 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001782/1.169, allocations: 1.252 MB / 0.8317 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/1.17, allocations: 0.544 MB / 0.8322 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007534/1.17, allocations: 409.3 kB / 0.8326 GB, free: 500 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/1.171, allocations: 454.8 kB / 0.833 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/1.171, allocations: 48.78 kB / 0.8331 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/1.173, allocations: 0.7874 MB / 0.8338 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/1.174, allocations: 222.8 kB / 0.834 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/1.174, allocations: 475.3 kB / 0.8345 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/1.176, allocations: 1.298 MB / 0.8358 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.176, allocations: 0 / 0.8358 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/1.176, allocations: 1.406 kB / 0.8358 GB, free: 28 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.515e-05/1.176, allocations: 4 kB / 0.8358 GB, free: 24 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003801/1.18, allocations: 1.449 MB / 0.8372 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/1.18, allocations: 8.938 kB / 0.8372 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/1.182, allocations: 207.8 kB / 0.8374 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.183, allocations: 0.7418 MB / 0.8381 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/1.183, allocations: 55.41 kB / 0.8382 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/1.183, allocations: 76.59 kB / 0.8382 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/1.185, allocations: 0.8892 MB / 0.8391 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/1.185, allocations: 1.625 kB / 0.8391 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/1.186, allocations: 35.91 kB / 0.8392 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.186, allocations: 18.44 kB / 0.8392 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/1.188, allocations: 1.122 MB / 0.8403 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/1.193, allocations: 2.514 MB / 0.8427 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/1.194, allocations: 0.8332 MB / 0.8435 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/1.195, allocations: 333.2 kB / 0.8439 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-05/1.195, allocations: 27.69 kB / 0.8439 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/1.196, allocations: 0.5352 MB / 0.8444 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/1.196, allocations: 0 / 0.8444 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003729/1.2, allocations: 1.291 MB / 0.8457 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.2, allocations: 189.3 kB / 0.8458 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/1.201, allocations: 0.6379 MB / 0.8465 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/1.201, allocations: 47.05 kB / 0.8465 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/1.202, allocations: 375.7 kB / 0.8469 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.202, allocations: 267 kB / 0.8471 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/1.202, allocations: 170.5 kB / 0.8473 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.202, allocations: 384.2 kB / 0.8477 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/1.203, allocations: 307.9 kB / 0.8479 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/1.204, allocations: 392.8 kB / 0.8483 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.205, allocations: 0.6775 MB / 0.849 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.205, allocations: 0 / 0.849 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00237/1.208, allocations: 0.9197 MB / 0.8499 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.208, allocations: 4.312 kB / 0.8499 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.208, allocations: 3.125 kB / 0.8499 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/1.208, allocations: 87.14 kB / 0.85 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/1.209, allocations: 177.9 kB / 0.8501 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.212, allocations: 1.539 MB / 0.8516 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.213, allocations: 102.6 kB / 0.8517 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/1.213, allocations: 41.23 kB / 0.8518 GB, free: 6.512 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: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0006769/1.213, allocations: 265.3 kB / 0.852 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.214, allocations: 88.31 kB / 0.8521 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/1.217, allocations: 1.202 MB / 0.8533 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.217, allocations: 14.03 kB / 0.8533 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.217, allocations: 0 / 0.8533 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.217, allocations: 11.91 kB / 0.8533 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/1.218, allocations: 0.9155 MB / 0.8542 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.218, allocations: 0 / 0.8542 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/1.219, allocations: 162.2 kB / 0.8544 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/1.22, allocations: 82.69 kB / 0.8544 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/1.22, allocations: 27.38 kB / 0.8545 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/1.222, allocations: 1.565 MB / 0.856 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.222, allocations: 0 / 0.856 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/1.224, allocations: 0.9987 MB / 0.857 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/1.225, allocations: 285.7 kB / 0.8572 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.225, allocations: 31.27 kB / 0.8573 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007703/1.226, allocations: 68.2 kB / 0.8573 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.226, allocations: 75.17 kB / 0.8574 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.085e-05/1.226, allocations: 38.22 kB / 0.8574 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007854/1.227, allocations: 459.5 kB / 0.8579 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.227, allocations: 4 kB / 0.8579 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001245/1.228, allocations: 321.4 kB / 0.8582 GB, free: 2.031 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001826/1.23, allocations: 0.6306 MB / 0.8588 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002283/1.232, allocations: 0.8963 MB / 0.8597 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.232, allocations: 1.781 kB / 0.8597 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.234, allocations: 0.5501 MB / 0.8602 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/1.235, allocations: 264 kB / 0.8605 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004932/1.24, allocations: 2.204 MB / 0.8626 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/1.241, allocations: 1.021 MB / 0.8636 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.241, allocations: 118.4 kB / 0.8637 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.241, allocations: 0 / 0.8637 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.03349/1.275, allocations: 18.88 MB / 0.8822 GB, free: 12 kB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile clang++ -std=c++14 NOTFOUND -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/BuildingSystems 2.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/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNorCalcHelperMain.o] Error 1