Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 102.7 kB / 15.71 MB, free: 460 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.0008714/0.0008714, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.474/1.474, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.737/2.737, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005563/0.0005563, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9572, allocations: 153.6 MB / 1.022 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.001856/0.9591, allocations: 1.184 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.9604, allocations: 0.69 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.79e-05/0.9604, allocations: 3.938 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.9604, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.9605, allocations: 11.86 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.961, allocations: 91.83 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.9611, allocations: 63.78 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.9612, allocations: 15.98 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.9613, allocations: 35.84 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.9614, allocations: 27.91 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.9614, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.9616, allocations: 91.84 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/0.9616, allocations: 11.97 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.9617, allocations: 41.64 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.9619, allocations: 93.8 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9619, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9619, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.9619, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006426/0.9626, allocations: 412.8 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.9626, allocations: 11.98 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.9627, allocations: 7.906 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.9628, allocations: 175 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.9628, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.9629, allocations: 11.95 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.963, allocations: 77.59 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.9631, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.9631, allocations: 0 / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9631, allocations: 3.984 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.9632, allocations: 43.97 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.9638, allocations: 324.6 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.964, allocations: 54.5 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.964, allocations: 32.97 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.9641, allocations: 7.938 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.9643, allocations: 83.44 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.9643, allocations: 0 / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003858/0.9647, allocations: 153.5 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.9648, allocations: 59.41 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/0.9649, allocations: 117.8 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.965, allocations: 25.7 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.9651, allocations: 92.31 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.9652, allocations: 15.81 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-06/0.9652, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.9654, allocations: 326.8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.9655, allocations: 27.98 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.9656, allocations: 50.98 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.9657, allocations: 32 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9657, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.966, allocations: 121.5 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.966, allocations: 12 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.966, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.966, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.9661, allocations: 19.92 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.9661, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.9662, allocations: 15.84 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.9662, allocations: 7.984 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001307/0.9664, allocations: 117.8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.9664, allocations: 8 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.9664, allocations: 8.375 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9664, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.9664, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9664, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.967, allocations: 386.3 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.967, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.9671, allocations: 7.984 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9671, allocations: 4 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.9671, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.9671, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9671, allocations: 0 / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.9674, allocations: 223.4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.9675, allocations: 81.02 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.9675, allocations: 8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.9676, allocations: 7.984 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.9676, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.9677, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000108/0.9678, allocations: 99.36 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9678, allocations: 0 / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003608/0.9682, allocations: 47.92 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004131/0.9686, allocations: 155.2 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.9688, allocations: 87.94 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9688, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.9689, allocations: 35.98 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.9692, allocations: 14.41 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.9697, allocations: 244.7 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.9701, allocations: 0.6887 MB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.9701, allocations: 7.438 kB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9701, allocations: 0 / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of Templates: time 0.003596/0.9737, allocations: 1.61 MB / 1.03 GB, free: 8.297 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUKCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUKCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUKCalcHelperMain.o] Error 1