Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009674/0.0009675, allocations: 99.98 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.001394/0.001395, allocations: 176.4 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.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.395 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.476/2.476, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9154, allocations: 142.3 MB / 0.9544 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0007459/0.9162, allocations: 343.5 kB / 0.9547 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.917, allocations: 0.8129 MB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.917, allocations: 5.062 kB / 0.9555 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.9171, allocations: 0 / 0.9555 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.9171, allocations: 4.953 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.9173, allocations: 7.938 kB / 0.9556 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.9173, allocations: 27.23 kB / 0.9556 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.9174, allocations: 2.688 kB / 0.9556 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.9175, allocations: 16.66 kB / 0.9556 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.9176, allocations: 11.89 kB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.9176, allocations: 1.469 kB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.9176, allocations: 1.406 kB / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.9176, allocations: 0 / 0.9556 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.9176, allocations: 31.77 kB / 0.9556 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.179e-05/0.9177, allocations: 15.44 kB / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9177, allocations: 0 / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9177, allocations: 4 kB / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.9177, allocations: 3.938 kB / 0.9557 GB, free: 7.008 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003703/0.9181, allocations: 340.4 kB / 0.956 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.9181, allocations: 8.375 kB / 0.956 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.9182, allocations: 5.734 kB / 0.956 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.9183, allocations: 168 kB / 0.9562 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.9183, allocations: 1.219 kB / 0.9562 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.9183, allocations: 5.531 kB / 0.9562 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.9185, allocations: 54.58 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.9185, allocations: 0 / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.9185, allocations: 0 / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9185, allocations: 1.219 kB / 0.9562 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.9187, allocations: 60.42 kB / 0.9563 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.919, allocations: 254.7 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.9191, allocations: 44.56 kB / 0.9566 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.9192, allocations: 28.83 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9193, allocations: 0 / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.9193, allocations: 35.97 kB / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/0.9193, allocations: 0 / 0.9566 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003431/0.9196, allocations: 112.1 kB / 0.9567 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.9197, allocations: 52.75 kB / 0.9568 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.9197, allocations: 102.6 kB / 0.9569 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.9197, allocations: 33.7 kB / 0.9569 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.9198, allocations: 81.17 kB / 0.957 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.9198, allocations: 5.219 kB / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.9198, allocations: 0 / 0.957 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.9199, allocations: 312.2 kB / 0.9573 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.9199, allocations: 26.78 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.92, allocations: 26.39 kB / 0.9574 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.648e-05/0.9201, allocations: 19.42 kB / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9201, allocations: 0 / 0.9574 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.9203, allocations: 91.28 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9203, allocations: 4.594 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9203, allocations: 1.062 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.9204, allocations: 3.984 kB / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.9205, allocations: 13.05 kB / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9205, allocations: 0 / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.9205, allocations: 18.95 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.9205, allocations: 0 / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.886e-05/0.9206, allocations: 107.9 kB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.9206, allocations: 1.156 kB / 0.9576 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.9207, allocations: 12.2 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9207, allocations: 1 kB / 0.9576 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.9207, allocations: 3.953 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.9207, allocations: 4 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.9208, allocations: 155.3 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9208, allocations: 0 / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.9209, allocations: 12.27 kB / 0.9578 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9209, allocations: 0.9375 kB / 0.9578 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.9209, allocations: 4.844 kB / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9209, allocations: 0 / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9209, allocations: 0.9375 kB / 0.9578 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.9212, allocations: 182.2 kB / 0.958 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.9212, allocations: 81.02 kB / 0.958 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.9212, allocations: 5.156 kB / 0.958 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.623e-05/0.9213, allocations: 14.17 kB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.9214, allocations: 6.312 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.9214, allocations: 1.344 kB / 0.9581 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.9214, allocations: 82.8 kB / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9214, allocations: 0 / 0.9581 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002064/0.9216, allocations: 7.266 kB / 0.9581 GB, free: 4.504 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.847e-05/0.9217, allocations: 96.53 kB / 0.9582 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.9219, allocations: 60.14 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9219, allocations: 3.938 kB / 0.9583 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.922, allocations: 21.33 kB / 0.9583 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.9223, allocations: 10.16 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.9226, allocations: 134.2 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.9227, allocations: 0.6772 MB / 0.9591 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.9227, allocations: 10.09 kB / 0.9591 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.9227, allocations: 0 / 0.9591 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of Templates: time 0.001742/0.9245, allocations: 0.599 MB / 0.9597 GB, free: 3.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToIntegerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToIntegerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToIntegerCalcHelperMain.o] Error 1