Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00814/0.00814, allocations: 100 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.001724/0.001724, allocations: 192.4 kB / 16.78 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.774/1.774, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.818/1.818, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001915/0.001915, allocations: 66.73 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3477, allocations: 114.5 MB / 0.7833 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002699/0.3505, allocations: 0.7428 MB / 0.7841 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3526, allocations: 1.232 MB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.3527, allocations: 0 / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.3528, allocations: 3.938 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.3529, allocations: 7.938 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.3536, allocations: 201.9 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.3538, allocations: 155.8 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.354, allocations: 15.97 kB / 0.7856 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3541, allocations: 59.84 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.3542, allocations: 59.78 kB / 0.7857 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.3543, allocations: 8 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.3544, allocations: 23.98 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.3544, allocations: 8 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.3545, allocations: 55.81 kB / 0.7858 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.3547, allocations: 112 kB / 0.7859 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3547, allocations: 0 / 0.7859 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3547, allocations: 0 / 0.7859 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3548, allocations: 4 kB / 0.7859 GB, free: 11.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007363/0.3555, allocations: 438.7 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3556, allocations: 8.031 kB / 0.7864 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.383e-05/0.3556, allocations: 12.84 kB / 0.7864 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.3558, allocations: 172.3 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.3558, allocations: 4.375 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3559, allocations: 16.38 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.356, allocations: 50.17 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.356, allocations: 4.125 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3561, allocations: 7.938 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.3561, allocations: 4 kB / 0.7866 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.095e-05/0.3561, allocations: 8 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.3568, allocations: 360.6 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3569, allocations: 38.5 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.357, allocations: 20.8 kB / 0.787 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.357, allocations: 4 kB / 0.787 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.3572, allocations: 95.44 kB / 0.7871 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3572, allocations: 0 / 0.7871 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003301/0.3576, allocations: 125.5 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.3576, allocations: 55.41 kB / 0.7873 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3578, allocations: 125.8 kB / 0.7874 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3578, allocations: 33.7 kB / 0.7875 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.3579, allocations: 92.28 kB / 0.7875 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.358, allocations: 19.8 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3581, allocations: 49.69 kB / 0.7876 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3582, allocations: 318.8 kB / 0.7879 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3584, allocations: 67.89 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3586, allocations: 110 kB / 0.7881 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.3588, allocations: 177.3 kB / 0.7883 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3588, allocations: 0 / 0.7883 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004901/0.3593, allocations: 292.7 kB / 0.7885 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.3594, allocations: 71.39 kB / 0.7886 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3594, allocations: 384 / 0.7886 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3595, allocations: 4 kB / 0.7886 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.3595, allocations: 8 kB / 0.7886 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3595, allocations: 0 / 0.7886 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.3599, allocations: 59.97 kB / 0.7887 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3599, allocations: 23.92 kB / 0.7887 GB, free: 8.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001373/0.3601, allocations: 126.4 kB / 0.7888 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3601, allocations: 11.89 kB / 0.7888 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.245e-05/0.3601, allocations: 12.38 kB / 0.7888 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3602, allocations: 0 / 0.7888 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3602, allocations: 0 / 0.7888 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3602, allocations: 4 kB / 0.7888 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00038/0.3606, allocations: 354.5 kB / 0.7892 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3606, allocations: 7.984 kB / 0.7892 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.3606, allocations: 0 / 0.7892 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3606, allocations: 4 kB / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3606, allocations: 0 / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3606, allocations: 0 / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3606, allocations: 0 / 0.7892 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.3609, allocations: 207.3 kB / 0.7894 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.3609, allocations: 85 kB / 0.7895 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.361, allocations: 0 / 0.7895 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.361, allocations: 8 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3611, allocations: 16 kB / 0.7895 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3611, allocations: 0 / 0.7895 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001515/0.3612, allocations: 99.2 kB / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3612, allocations: 0 / 0.7896 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002741/0.3615, allocations: 32 kB / 0.7896 GB, free: 7.078 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: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * 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 (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.000192/0.3617, allocations: 107.4 kB / 0.7897 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.3621, allocations: 258.6 kB / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3621, allocations: 0 / 0.79 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.473e-05/0.3622, allocations: 39.98 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3626, allocations: 19.11 kB / 0.79 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004934/0.3631, allocations: 213.8 kB / 0.7902 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3635, allocations: 0.6926 MB / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.3635, allocations: 11.44 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3635, allocations: 4 kB / 0.7909 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.003873/0.3674, allocations: 1.47 MB / 0.7924 GB, free: 4.199 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounterCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounterCalcHelperMain.o] Error 1