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.001071/0.001071, allocations: 102.6 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.001398/0.001398, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.787/1.787, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.888/1.888, allocations: 292.7 MB / 0.5505 GB, free: 14.53 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.0005741/0.0005744, allocations: 17.19 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3191, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008965/0.32, allocations: 401.7 kB / 0.7883 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3216, allocations: 1.189 MB / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.3217, allocations: 0 / 0.7895 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.3217, allocations: 4 kB / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.3218, allocations: 7.922 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.3224, allocations: 197.1 kB / 0.7897 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3226, allocations: 147.7 kB / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.3227, allocations: 8 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.3228, allocations: 63.88 kB / 0.7899 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.3229, allocations: 47.88 kB / 0.7899 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.323, allocations: 8 kB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.3231, allocations: 19.98 kB / 0.79 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3231, allocations: 19.91 kB / 0.79 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.3232, allocations: 33.7 kB / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.3233, allocations: 112 kB / 0.7901 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3234, allocations: 0 / 0.7901 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.093e-06/0.3234, allocations: 0 / 0.7901 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3234, allocations: 4 kB / 0.7901 GB, free: 9.68 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.0005204/0.3239, allocations: 406.6 kB / 0.7905 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.324, allocations: 8.031 kB / 0.7905 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.324, allocations: 11.98 kB / 0.7905 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3242, allocations: 182.8 kB / 0.7907 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.3242, allocations: 4 kB / 0.7907 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.3243, allocations: 8 kB / 0.7907 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.3244, allocations: 53.67 kB / 0.7908 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3244, allocations: 0 / 0.7908 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3244, allocations: 4 kB / 0.7908 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3244, allocations: 3.984 kB / 0.7908 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.3245, allocations: 15.98 kB / 0.7908 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.325, allocations: 356.6 kB / 0.7911 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.3251, allocations: 38.56 kB / 0.7912 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.064e-05/0.3252, allocations: 12.86 kB / 0.7912 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3252, allocations: 12.08 kB / 0.7912 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3254, allocations: 95.14 kB / 0.7913 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3254, allocations: 0 / 0.7913 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002941/0.3257, allocations: 121.6 kB / 0.7914 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3258, allocations: 59.34 kB / 0.7915 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3259, allocations: 121.8 kB / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.3259, allocations: 33.7 kB / 0.7916 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.326, allocations: 96.36 kB / 0.7917 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3261, allocations: 15.8 kB / 0.7917 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.3261, allocations: 8 kB / 0.7917 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3262, allocations: 318.8 kB / 0.792 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3263, allocations: 59.97 kB / 0.7921 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3265, allocations: 106 kB / 0.7922 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3267, allocations: 127.3 kB / 0.7923 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3267, allocations: 0 / 0.7923 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004228/0.3271, allocations: 276.8 kB / 0.7926 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.3272, allocations: 67.55 kB / 0.7926 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3272, allocations: 8 kB / 0.7926 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3272, allocations: 4 kB / 0.7926 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.28e-05/0.3273, allocations: 11.92 kB / 0.7926 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3273, allocations: 3.938 kB / 0.7927 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.3276, allocations: 86.69 kB / 0.7927 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.3277, allocations: 23.97 kB / 0.7928 GB, free: 6.684 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.3278, allocations: 120.9 kB / 0.7929 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.3278, allocations: 7.906 kB / 0.7929 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3279, allocations: 16.36 kB / 0.7929 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3279, allocations: 0 / 0.7929 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3279, allocations: 4 kB / 0.7929 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3279, allocations: 0 / 0.7929 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.3283, allocations: 354.8 kB / 0.7932 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3283, allocations: 96 / 0.7932 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.3283, allocations: 11.88 kB / 0.7933 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3283, allocations: 3.984 kB / 0.7933 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3283, allocations: 0 / 0.7933 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3283, allocations: 4 kB / 0.7933 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3283, allocations: 7.953 kB / 0.7933 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3285, allocations: 191.5 kB / 0.7934 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3286, allocations: 81.02 kB / 0.7935 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3286, allocations: 11.98 kB / 0.7935 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.131e-05/0.3287, allocations: 4 kB / 0.7935 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3287, allocations: 4 kB / 0.7935 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.3287, allocations: 11.94 kB / 0.7936 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.3288, allocations: 95.81 kB / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3288, allocations: 0 / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002729/0.3291, allocations: 36 kB / 0.7937 GB, free: 5.641 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 (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.0001653/0.3292, allocations: 103.2 kB / 0.7938 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3296, allocations: 258.6 kB / 0.794 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3296, allocations: 0 / 0.794 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.3297, allocations: 28.31 kB / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.33, allocations: 24.31 kB / 0.7941 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.3303, allocations: 212.6 kB / 0.7943 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3306, allocations: 0.6926 MB / 0.795 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.086e-05/0.3307, allocations: 15.72 kB / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3307, allocations: 0 / 0.795 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.003218/0.3339, allocations: 1.472 MB / 0.7964 GB, free: 2.77 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++ 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_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