Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 100.5 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.00133/0.00133, allocations: 175.3 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.531/1.531, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 16 kB / 0.8717 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8887/0.8891, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.007846/0.897, allocations: 6.098 MB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1624/1.059, allocations: 141.6 MB / 1.166 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/1.061, allocations: 31.75 kB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004937/1.066, allocations: 1.623 MB / 1.168 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003089/1.069, allocations: 0.9857 MB / 1.168 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/1.072, allocations: 1.054 MB / 1.17 GB, free: 9.348 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005125/1.077, allocations: 4.736 MB / 1.174 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/1.079, allocations: 0.9216 MB / 1.175 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/1.081, allocations: 1.35 MB / 1.176 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/1.083, allocations: 1.226 MB / 1.178 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/1.084, allocations: 68 kB / 1.178 GB, free: 1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/1.087, allocations: 1.864 MB / 1.179 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002338/1.089, allocations: 2.68 MB / 1.182 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/1.09, allocations: 456.3 kB / 1.183 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/1.095, allocations: 3.808 MB / 1.186 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.095, allocations: 4 kB / 1.186 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/1.095, allocations: 7.938 kB / 1.186 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.854e-05/1.095, allocations: 0 / 1.186 GB, free: 8.168 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.005334/1.101, allocations: 2.844 MB / 1.189 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.101, allocations: 11.98 kB / 1.189 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.102, allocations: 368.3 kB / 1.189 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008467/1.11, allocations: 7.337 MB / 1.197 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/1.111, allocations: 134.9 kB / 1.197 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/1.111, allocations: 188 kB / 1.197 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003028/1.114, allocations: 1.788 MB / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/1.114, allocations: 0 / 1.199 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.114, allocations: 60 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/1.114, allocations: 36 kB / 1.199 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/1.117, allocations: 1.814 MB / 1.2 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01322/1.13, allocations: 10.27 MB / 1.21 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/1.133, allocations: 1.559 MB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.134, allocations: 0.8525 MB / 1.213 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/1.134, allocations: 37.09 kB / 1.213 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/1.136, allocations: 1.035 MB / 1.214 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=117): time 2.685e-06/1.136, allocations: 0 / 1.214 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=117): time 0.00579/1.142, allocations: 2.955 MB / 1.217 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/1.142, allocations: 342.5 kB / 1.217 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/1.157, allocations: 11.58 MB / 1.228 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005351/1.157, allocations: 61.7 kB / 1.228 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.158, allocations: 0.9646 MB / 1.229 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005325/1.159, allocations: 394.4 kB / 1.23 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/1.159, allocations: 44 kB / 1.23 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.159, allocations: 410.6 kB / 1.23 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006311/1.166, allocations: 6.878 MB / 1.237 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006889/1.172, allocations: 7.211 MB / 1.244 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007134/1.18, allocations: 7.198 MB / 1.251 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.921e-05/1.18, allocations: 3.953 kB / 1.251 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.6683/1.848, allocations: 14.83 MB / 1.265 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002314/1.848, allocations: 164 kB / 1.266 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.377e-05/1.848, allocations: 7.812 kB / 1.266 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/1.849, allocations: 101.4 kB / 1.266 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.851, allocations: 485.7 kB / 1.266 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/1.853, allocations: 1.537 MB / 1.268 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/1.855, allocations: 253.8 kB / 1.268 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.855, allocations: 118.1 kB / 1.268 GB, free: 224.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (279): * Single equations (assignments): 277 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002643/1.858, allocations: 1.55 MB / 1.27 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/1.858, allocations: 209 kB / 1.27 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/1.864, allocations: 2.611 MB / 1.272 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/1.864, allocations: 12.91 kB / 1.272 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.864, allocations: 0.7969 kB / 1.272 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/1.864, allocations: 5.719 kB / 1.272 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/1.867, allocations: 1.791 MB / 1.274 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.867, allocations: 0 / 1.274 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007807/1.867, allocations: 191.6 kB / 1.274 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/1.868, allocations: 83.81 kB / 1.274 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.868, allocations: 40 kB / 1.274 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/1.87, allocations: 1.548 MB / 1.276 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.87, allocations: 0 / 1.276 GB, free: 221 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/1.874, allocations: 2.432 MB / 1.278 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008388/1.874, allocations: 0.5553 MB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.875, allocations: 32.7 kB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/1.876, allocations: 89.8 kB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.876, allocations: 96.05 kB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.876, allocations: 59.77 kB / 1.279 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005826/1.882, allocations: 7.26 MB / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.882, allocations: 0 / 1.286 GB, free: 216 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002778/1.885, allocations: 1.139 MB / 1.287 GB, free: 214.9 MB / 0.9981 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 (117): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002188/1.887, allocations: 0.9557 MB / 1.288 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007433/1.894, allocations: 9.579 MB / 1.298 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.894, allocations: 4.938 kB / 1.298 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/1.896, allocations: 1.726 MB / 1.299 GB, free: 203.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.898, allocations: 383.6 kB / 1.3 GB, free: 203.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008096/1.906, allocations: 6.345 MB / 1.306 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009867/1.907, allocations: 1.721 MB / 1.308 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007584/1.908, allocations: 203.3 kB / 1.308 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/1.908, allocations: 0 / 1.308 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08056/1.989, allocations: 63.37 MB / 1.37 GB, free: 133.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 11.0.0-master/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 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationCalcHelperMain.o OMCppBuildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationCalcHelperMain.o] Error 1