Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01392/0.01392, 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.00208/0.00208, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.3 MB / 0.5491 GB, free: 13.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001437, allocations: 65.98 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 114.6 MB / 0.7833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002811/0.3481, allocations: 1.129 MB / 0.7844 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3504, allocations: 1.363 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3506, allocations: 7.938 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.3508, allocations: 11.86 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3509, allocations: 27.78 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.3517, allocations: 263 kB / 0.7861 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.3521, allocations: 347.3 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.3523, allocations: 73.27 kB / 0.7865 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3525, allocations: 131.6 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.3527, allocations: 147.4 kB / 0.7867 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.3528, allocations: 20 kB / 0.7868 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3529, allocations: 35.98 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.353, allocations: 59.8 kB / 0.7868 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.3532, allocations: 127.4 kB / 0.787 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.3535, allocations: 319.5 kB / 0.7873 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3536, allocations: 0 / 0.7873 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3536, allocations: 0 / 0.7873 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3536, allocations: 0 / 0.7873 GB, free: 10.01 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00131/0.3549, allocations: 0.6348 MB / 0.7879 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3549, allocations: 8.031 kB / 0.7879 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.965e-05/0.355, allocations: 32.59 kB / 0.7879 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.3554, allocations: 275.8 kB / 0.7882 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.3555, allocations: 24.3 kB / 0.7882 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.3555, allocations: 24.36 kB / 0.7882 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.3562, allocations: 245.8 kB / 0.7885 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3562, allocations: 192 / 0.7885 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.3562, allocations: 19.91 kB / 0.7885 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.3562, allocations: 4 kB / 0.7885 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.357, allocations: 231.6 kB / 0.7887 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3584, allocations: 0.7458 MB / 0.7894 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3589, allocations: 214.4 kB / 0.7896 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.3593, allocations: 149.1 kB / 0.7898 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3594, allocations: 7.938 kB / 0.7898 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/0.3599, allocations: 264.9 kB / 0.7901 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.3599, allocations: 0 / 0.7901 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001454/0.3614, allocations: 0.538 MB / 0.7906 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.3615, allocations: 59.39 kB / 0.7906 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.3617, allocations: 220.1 kB / 0.7908 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.3618, allocations: 37.64 kB / 0.7909 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.3619, allocations: 148.6 kB / 0.791 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.362, allocations: 59.11 kB / 0.7911 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3622, allocations: 77.67 kB / 0.7912 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.3624, allocations: 342.8 kB / 0.7915 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004968/0.3629, allocations: 187.7 kB / 0.7917 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.3634, allocations: 232 kB / 0.7919 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.3643, allocations: 396.8 kB / 0.7923 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3643, allocations: 3.938 kB / 0.7923 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001251/0.3655, allocations: 0.5281 MB / 0.7928 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/0.3656, allocations: 71.39 kB / 0.7928 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3656, allocations: 0 / 0.7928 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3657, allocations: 4 kB / 0.7928 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.366, allocations: 55.89 kB / 0.7929 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.366, allocations: 4 kB / 0.7929 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.3665, allocations: 87.72 kB / 0.793 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.3666, allocations: 23.92 kB / 0.793 GB, free: 3.812 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.3668, allocations: 163.5 kB / 0.7932 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3669, allocations: 27.72 kB / 0.7932 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.3669, allocations: 26.55 kB / 0.7932 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3669, allocations: 0 / 0.7932 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.367, allocations: 4 kB / 0.7932 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.367, allocations: 3.938 kB / 0.7932 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.3684, allocations: 0.7831 MB / 0.794 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3684, allocations: 4 kB / 0.794 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3686, allocations: 35.91 kB / 0.794 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3686, allocations: 4 kB / 0.794 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/0.3686, allocations: 7.984 kB / 0.794 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3686, allocations: 0 / 0.794 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3686, allocations: 0 / 0.794 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.3696, allocations: 0.5042 MB / 0.7945 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.3697, allocations: 92.92 kB / 0.7946 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3698, allocations: 3.984 kB / 0.7946 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.37, allocations: 27.97 kB / 0.7947 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.3701, allocations: 27.95 kB / 0.7947 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3701, allocations: 16 kB / 0.7947 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001651/0.3703, allocations: 161.6 kB / 0.7948 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3703, allocations: 0 / 0.7948 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003762/0.3707, allocations: 75.78 kB / 0.7949 GB, free: 1.762 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002457/0.3709, allocations: 119.1 kB / 0.795 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.3721, allocations: 0.5336 MB / 0.7956 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3721, allocations: 0 / 0.7956 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.3726, allocations: 188 kB / 0.7957 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.373, allocations: 55.19 kB / 0.7958 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.374, allocations: 0.5706 MB / 0.7963 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.3744, allocations: 0.7482 MB / 0.7971 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.3745, allocations: 23.44 kB / 0.7971 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of SimCode: time 2.9e-07/0.3745, allocations: 0 / 0.7971 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.007057/0.3816, allocations: 3.901 MB / 0.8009 GB, free: 11.57 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractorCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractorCalcHelperMain.o] Error 1