Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007388/0.0007386, allocations: 102.8 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.000941/0.000941, allocations: 175.1 kB / 16.58 MB, free: 5.965 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.568/1.568, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.422/2.422, allocations: 390.5 MB / 0.6662 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004651, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.848, allocations: 142.3 MB / 0.9544 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001352/0.8494, allocations: 0.8011 MB / 0.9552 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.8514, allocations: 1.49 MB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.8515, allocations: 8.031 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.8516, allocations: 19.8 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.807e-05/0.8517, allocations: 40.89 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.8528, allocations: 419.4 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.8533, allocations: 488.3 kB / 0.9576 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.8536, allocations: 109.5 kB / 0.9577 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.8538, allocations: 171 kB / 0.9579 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.854, allocations: 145.6 kB / 0.958 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.854, allocations: 21.19 kB / 0.958 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.8542, allocations: 38.02 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.879e-05/0.8542, allocations: 45.38 kB / 0.9581 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.8543, allocations: 82.17 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.8548, allocations: 478.2 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8548, allocations: 0 / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8548, allocations: 1.781 kB / 0.9586 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.8548, allocations: 0 / 0.9586 GB, free: 5.039 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008628/0.8557, allocations: 0.6436 MB / 0.9593 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.8557, allocations: 12.25 kB / 0.9593 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.8559, allocations: 47.08 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.8569, allocations: 413.5 kB / 0.9597 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.857, allocations: 27.56 kB / 0.9597 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.007e-05/0.8571, allocations: 36 kB / 0.9598 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.8576, allocations: 250.3 kB / 0.96 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8576, allocations: 0 / 0.96 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.8576, allocations: 14.45 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.8577, allocations: 13.58 kB / 0.96 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.858, allocations: 154 kB / 0.9602 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.8595, allocations: 0.8496 MB / 0.961 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.8599, allocations: 220.3 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.8603, allocations: 216.9 kB / 0.9614 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.8603, allocations: 5.828 kB / 0.9614 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.8607, allocations: 245.2 kB / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.8608, allocations: 0 / 0.9617 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0008908/0.8617, allocations: 428.7 kB / 0.9621 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.8617, allocations: 112 kB / 0.9622 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.8621, allocations: 336.7 kB / 0.9625 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.8622, allocations: 42.23 kB / 0.9625 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.8624, allocations: 178.2 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.8624, allocations: 62.19 kB / 0.9628 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.8625, allocations: 12.34 kB / 0.9628 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.8626, allocations: 346.5 kB / 0.9631 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.863, allocations: 203.9 kB / 0.9633 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.8635, allocations: 323.8 kB / 0.9636 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.8639, allocations: 342.7 kB / 0.9639 GB, free: 1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.8639, allocations: 1.344 kB / 0.9639 GB, free: 1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001131/0.8651, allocations: 0.7365 MB / 0.9647 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/0.8652, allocations: 129 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.8652, allocations: 2.688 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.8652, allocations: 5.062 kB / 0.9648 GB, free: 444 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8655, allocations: 59.03 kB / 0.9649 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.8655, allocations: 8.922 kB / 0.9649 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.8662, allocations: 176.5 kB / 0.965 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.8663, allocations: 71.83 kB / 0.9651 GB, free: 320 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002277/0.8666, allocations: 185.3 kB / 0.9653 GB, free: 164 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.8666, allocations: 35.2 kB / 0.9653 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006386/0.8673, allocations: 369.1 kB / 0.9657 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.8673, allocations: 3.5 kB / 0.9657 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8673, allocations: 0 / 0.9657 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.8673, allocations: 4.891 kB / 0.9657 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.8684, allocations: 0.7464 MB / 0.9664 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8684, allocations: 0 / 0.9664 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.8686, allocations: 36.23 kB / 0.9664 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.8686, allocations: 1.031 kB / 0.9664 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.8686, allocations: 7 kB / 0.9664 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.8686, allocations: 1.969 kB / 0.9664 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.8686, allocations: 11.88 kB / 0.9665 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.8692, allocations: 428.2 kB / 0.9669 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.8693, allocations: 109.9 kB / 0.967 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.8694, allocations: 13.88 kB / 0.967 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.8696, allocations: 12.05 kB / 0.967 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.8697, allocations: 26.2 kB / 0.967 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.8697, allocations: 12.31 kB / 0.967 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002542/0.8699, allocations: 214.3 kB / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.87, allocations: 0 / 0.9672 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004633/0.8704, allocations: 98.05 kB / 0.9673 GB, free: 14.78 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002346/0.8707, allocations: 121.2 kB / 0.9674 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.8717, allocations: 0.6716 MB / 0.9681 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8717, allocations: 0.9688 kB / 0.9681 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.872, allocations: 152.7 kB / 0.9682 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.8725, allocations: 72.45 kB / 0.9683 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.8736, allocations: 0.6572 MB / 0.969 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.8741, allocations: 0.7798 MB / 0.9697 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.8742, allocations: 41.55 kB / 0.9698 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8742, allocations: 0 / 0.9698 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of Templates: time 0.01063/0.8848, allocations: 4.916 MB / 0.9746 GB, free: 10.39 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractorCalcHelperMain.o] Error 1