Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.44 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.001022/0.001022, allocations: 179.9 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.433/1.433, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.557/2.557, allocations: 390.4 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8397/0.8401, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002063/0.8422, allocations: 1.328 MB / 0.9557 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.8436, allocations: 0.7409 MB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.8436, allocations: 1.562 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.883e-05/0.8436, allocations: 7.875 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.242e-05/0.8437, allocations: 18.53 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.8443, allocations: 115.4 kB / 0.9566 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.8445, allocations: 135.2 kB / 0.9567 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.8446, allocations: 22.42 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.8447, allocations: 54.11 kB / 0.9568 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.8448, allocations: 66.78 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.8448, allocations: 7.219 kB / 0.9568 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.845, allocations: 88.11 kB / 0.9569 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.8451, allocations: 32.69 kB / 0.957 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.8451, allocations: 43.55 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.8453, allocations: 151.7 kB / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8453, allocations: 0 / 0.9571 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8454, allocations: 3.938 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.8454, allocations: 0 / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006839/0.8461, allocations: 0.5199 MB / 0.9576 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8461, allocations: 14 kB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.8462, allocations: 17.73 kB / 0.9577 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.8463, allocations: 180.6 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.8463, allocations: 3.281 kB / 0.9579 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.8464, allocations: 13.22 kB / 0.9579 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004334/0.8468, allocations: 152.4 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8468, allocations: 0 / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.8468, allocations: 5.125 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.8469, allocations: 1.219 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.8473, allocations: 128.3 kB / 0.9581 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.848, allocations: 388.2 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.8484, allocations: 117.8 kB / 0.9586 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.8487, allocations: 101.5 kB / 0.9587 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.8487, allocations: 4 kB / 0.9587 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000444/0.8492, allocations: 159.7 kB / 0.9589 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.8492, allocations: 3.938 kB / 0.9589 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001059/0.8503, allocations: 347.8 kB / 0.9592 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.8503, allocations: 58.09 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.8504, allocations: 152.6 kB / 0.9594 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.8504, allocations: 27.08 kB / 0.9594 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.8505, allocations: 104.4 kB / 0.9595 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.8505, allocations: 22.52 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.8505, allocations: 5.312 kB / 0.9596 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.8506, allocations: 325.6 kB / 0.9599 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.8508, allocations: 48.84 kB / 0.9599 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.8509, allocations: 86.48 kB / 0.96 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.8511, allocations: 51.61 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.8511, allocations: 1.375 kB / 0.9601 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003425/0.8514, allocations: 171.9 kB / 0.9602 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.8514, allocations: 13.39 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.8515, allocations: 1.375 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8515, allocations: 6.688 kB / 0.9602 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.8516, allocations: 24.3 kB / 0.9603 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.8517, allocations: 3.156 kB / 0.9603 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.8518, allocations: 25.95 kB / 0.9603 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.8518, allocations: 4.062 kB / 0.9603 GB, free: 3.434 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.896e-05/0.8519, allocations: 123.1 kB / 0.9604 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.8519, allocations: 12.58 kB / 0.9604 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.852, allocations: 22.89 kB / 0.9604 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.852, allocations: 5.672 kB / 0.9604 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.852, allocations: 0 / 0.9604 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.852, allocations: 1.344 kB / 0.9605 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.8531, allocations: 0.5486 MB / 0.961 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.8531, allocations: 0 / 0.961 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.8532, allocations: 19.38 kB / 0.961 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.8532, allocations: 1 kB / 0.961 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.8533, allocations: 8.953 kB / 0.961 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8533, allocations: 1.031 kB / 0.961 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8533, allocations: 0 / 0.961 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.854, allocations: 357.4 kB / 0.9614 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.8541, allocations: 92 kB / 0.9614 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.8541, allocations: 4.953 kB / 0.9614 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.8543, allocations: 31.28 kB / 0.9615 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.8544, allocations: 12.27 kB / 0.9615 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.8544, allocations: 2.031 kB / 0.9615 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.8545, allocations: 110.1 kB / 0.9616 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8545, allocations: 4 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003668/0.8549, allocations: 60.11 kB / 0.9617 GB, free: 2.336 MB / 0.7169 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0004012/0.8553, allocations: 159.4 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005374/0.8558, allocations: 167.4 kB / 0.962 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.8558, allocations: 0 / 0.962 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.8562, allocations: 106.4 kB / 0.9621 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.8565, allocations: 16.59 kB / 0.9621 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.8572, allocations: 319.6 kB / 0.9624 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.8573, allocations: 0.7035 MB / 0.9631 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.8573, allocations: 16.17 kB / 0.9631 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8574, allocations: 192 / 0.9631 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.004463/0.8618, allocations: 2.131 MB / 0.9652 GB, free: 36 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComfCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComfCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComfCalcHelperMain.o] Error 1