Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009769, allocations: 97.02 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 175 kB / 16.58 MB, free: 6.422 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.492/1.492, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8734/0.8738, allocations: 142.3 MB / 0.9544 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.006468/0.8803, allocations: 5.016 MB / 0.9593 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.201/1.081, allocations: 140.7 MB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/1.083, allocations: 23.88 kB / 1.097 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005679/1.089, allocations: 1.507 MB / 1.098 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003319/1.092, allocations: 0.6387 MB / 1.099 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003105/1.095, allocations: 0.7877 MB / 1.1 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004689/1.1, allocations: 3.084 MB / 1.103 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.102, allocations: 0.7303 MB / 1.103 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/1.104, allocations: 0.9768 MB / 1.104 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/1.107, allocations: 0.8403 MB / 1.105 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/1.107, allocations: 52 kB / 1.105 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/1.113, allocations: 1.825 MB / 1.107 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/1.115, allocations: 1.213 MB / 1.108 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009298/1.116, allocations: 336.6 kB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007865/1.124, allocations: 2.857 MB / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/1.124, allocations: 0 / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.658e-06/1.124, allocations: 0 / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002068/1.124, allocations: 0 / 1.111 GB, free: 15.1 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008547/1.132, allocations: 2.212 MB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/1.132, allocations: 8.031 kB / 1.113 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/1.134, allocations: 277.3 kB / 1.114 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/1.14, allocations: 2.939 MB / 1.117 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/1.14, allocations: 118.4 kB / 1.117 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005057/1.14, allocations: 152 kB / 1.117 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/1.144, allocations: 1.385 MB / 1.118 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/1.144, allocations: 4 kB / 1.118 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/1.144, allocations: 52 kB / 1.118 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/1.144, allocations: 32 kB / 1.118 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/1.147, allocations: 1.453 MB / 1.12 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008713/1.155, allocations: 5.462 MB / 1.125 GB, free: 0.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.157, allocations: 1.23 MB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009903/1.158, allocations: 0.6948 MB / 1.127 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/1.159, allocations: 33.17 kB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/1.16, allocations: 0.7937 MB / 1.128 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/1.16, allocations: 0 / 1.128 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104): time 0.004034/1.164, allocations: 2.231 MB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00023/1.164, allocations: 326.5 kB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/1.17, allocations: 4.381 MB / 1.134 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/1.17, allocations: 61.7 kB / 1.134 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/1.171, allocations: 0.6968 MB / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/1.171, allocations: 343.2 kB / 1.135 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.171, allocations: 32 kB / 1.136 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.171, allocations: 381.9 kB / 1.136 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002981/1.174, allocations: 2.773 MB / 1.139 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/1.178, allocations: 2.999 MB / 1.142 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/1.181, allocations: 3.028 MB / 1.144 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.181, allocations: 7.938 kB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007342/1.188, allocations: 6.325 MB / 1.151 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/1.188, allocations: 145.6 kB / 1.151 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.188, allocations: 4 kB / 1.151 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/1.188, allocations: 16.42 kB / 1.151 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.19, allocations: 351.5 kB / 1.151 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/1.19, allocations: 8 kB / 1.151 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.191, allocations: 214 kB / 1.151 GB, free: 5.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.191, allocations: 91.89 kB / 1.151 GB, free: 5.418 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001292/1.192, allocations: 0.8526 MB / 1.152 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/1.193, allocations: 150 kB / 1.152 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/1.196, allocations: 2.083 MB / 1.154 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.196, allocations: 11.98 kB / 1.154 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.196, allocations: 0 / 1.154 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.196, allocations: 3.984 kB / 1.154 GB, free: 2.281 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/1.198, allocations: 1.353 MB / 1.156 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.198, allocations: 0 / 1.156 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/1.199, allocations: 163.8 kB / 1.156 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/1.199, allocations: 11.94 kB / 1.156 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/1.199, allocations: 31.97 kB / 1.156 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/1.199, allocations: 4 kB / 1.156 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.199, allocations: 0 / 1.156 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.202, allocations: 1.944 MB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000636/1.203, allocations: 434.5 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.203, allocations: 28 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/1.204, allocations: 88.73 kB / 1.158 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/1.204, allocations: 88.86 kB / 1.159 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.204, allocations: 51.97 kB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00287/1.207, allocations: 2.795 MB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/1.207, allocations: 0 / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002531/1.209, allocations: 0.9752 MB / 1.162 GB, free: 10.23 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00241/1.212, allocations: 0.9486 MB / 1.163 GB, free: 9.457 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005727/1.217, allocations: 5.008 MB / 1.168 GB, free: 4.438 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.218, allocations: 0 / 1.168 GB, free: 4.438 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/1.219, allocations: 1.38 MB / 1.169 GB, free: 3.047 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.221, allocations: 296 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/1.227, allocations: 4.254 MB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000945/1.228, allocations: 1.38 MB / 1.175 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/1.228, allocations: 159.4 kB / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of SimCode: time 3.336e-06/1.228, allocations: 0 / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.05896/1.287, allocations: 34.39 MB / 1.209 GB, free: 10.88 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationCalcHelperMain.o] Error 1