Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.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.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001311, allocations: 96.14 kB / 15.87 MB, free: 12 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.001292/0.001292, allocations: 196.2 kB / 16.79 MB, free: 6.828 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.8/1.8, allocations: 205.1 MB / 222.6 MB, free: 4.82 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.975/1.975, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001386/0.001387, allocations: 68.45 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3043, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.003218/0.3075, allocations: 1.78 MB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002684/0.3102, allocations: 1.807 MB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.3103, allocations: 3.938 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3105, allocations: 19.86 kB / 0.7869 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3106, allocations: 15.86 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.3118, allocations: 270.2 kB / 0.7871 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.312, allocations: 187.5 kB / 0.7873 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3121, allocations: 25.77 kB / 0.7873 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3123, allocations: 75.69 kB / 0.7874 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3124, allocations: 71.67 kB / 0.7875 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3124, allocations: 8 kB / 0.7875 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.3128, allocations: 251.6 kB / 0.7877 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.313, allocations: 47.88 kB / 0.7878 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.313, allocations: 59.66 kB / 0.7878 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3134, allocations: 251.6 kB / 0.7881 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3134, allocations: 3.938 kB / 0.7881 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3134, allocations: 0 / 0.7881 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3134, allocations: 3.938 kB / 0.7881 GB, free: 9.109 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008368/0.3142, allocations: 0.5067 MB / 0.7886 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3143, allocations: 8.031 kB / 0.7886 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.3144, allocations: 20.75 kB / 0.7886 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3146, allocations: 222.9 kB / 0.7888 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3146, allocations: 4.375 kB / 0.7888 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.3147, allocations: 20.11 kB / 0.7888 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.315, allocations: 147.2 kB / 0.789 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.315, allocations: 0 / 0.789 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.315, allocations: 8 kB / 0.789 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.315, allocations: 0 / 0.789 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.3152, allocations: 70.7 kB / 0.789 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.3161, allocations: 412.5 kB / 0.7894 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.3163, allocations: 150.6 kB / 0.7896 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3165, allocations: 64.81 kB / 0.7896 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3165, allocations: 4 kB / 0.7896 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.3168, allocations: 152.9 kB / 0.7898 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.3168, allocations: 0 / 0.7898 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006388/0.3175, allocations: 285.2 kB / 0.7901 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.3175, allocations: 97.2 kB / 0.7902 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3177, allocations: 176.3 kB / 0.7903 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.3177, allocations: 33.7 kB / 0.7904 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.3178, allocations: 108.5 kB / 0.7905 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.3179, allocations: 43.45 kB / 0.7905 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.121e-05/0.318, allocations: 53.69 kB / 0.7905 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3181, allocations: 330.8 kB / 0.7909 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3183, allocations: 71.89 kB / 0.7909 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3185, allocations: 161.3 kB / 0.7911 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.3188, allocations: 247.8 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3188, allocations: 0 / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004294/0.3193, allocations: 277 kB / 0.7916 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3193, allocations: 8 kB / 0.7916 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3193, allocations: 4 kB / 0.7916 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3193, allocations: 4 kB / 0.7916 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3195, allocations: 35.92 kB / 0.7916 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3195, allocations: 8.375 kB / 0.7916 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3196, allocations: 31.77 kB / 0.7917 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3196, allocations: 8 kB / 0.7917 GB, free: 5.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition3,kalFil.firstTrigger,$PRE.kalFil.firstTrigger,kalFil.yR[1],$PRE.kalFil.yR[1],kalFil.uRIntPre[1],$PRE.kalFil.uRIntPre[1],ran.firstTrigger,$PRE.ran.firstTrigger,ran.uRIntPre[1],$PRE.ran.uRIntPre[1],ran.sampleTrigger,$whenCondition1,ran.uRWri[1],$PRE.ran.uRWri[1],kalFil.sampleTrigger,$whenCondition2,kalFil.uRWri[1],$PRE.kalFil.uRWri[1],ran.yR[1],$PRE.ran.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001493/0.3198, allocations: 151.5 kB / 0.7918 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.3198, allocations: 15.81 kB / 0.7918 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.3199, allocations: 25.86 kB / 0.7919 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3199, allocations: 0 / 0.7919 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3199, allocations: 4 kB / 0.7919 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3199, allocations: 7.938 kB / 0.7919 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.3207, allocations: 0.5443 MB / 0.7924 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3207, allocations: 0 / 0.7924 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.3208, allocations: 19.92 kB / 0.7924 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3208, allocations: 7.875 kB / 0.7924 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.3209, allocations: 11.98 kB / 0.7924 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3209, allocations: 8 kB / 0.7925 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3209, allocations: 0 / 0.7925 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.3215, allocations: 400 kB / 0.7928 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.3216, allocations: 96.8 kB / 0.7929 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.3216, allocations: 15.92 kB / 0.7929 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3218, allocations: 16.05 kB / 0.793 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.3218, allocations: 11.98 kB / 0.793 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.3218, allocations: 11.98 kB / 0.793 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.563e-05/0.3219, allocations: 120 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3219, allocations: 0 / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004367/0.3224, allocations: 99.98 kB / 0.7932 GB, free: 3.422 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (ran.uRInt[1],kalFil.uRInt[1]) * Number of discrete variables: 13 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],$whenCondition3) * Number of discrete states: 2 (kalFil.uR[1],ran.uR[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0008886/0.3233, allocations: 422.9 kB / 0.7936 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.3237, allocations: 180.3 kB / 0.7938 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3237, allocations: 0 / 0.7938 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3239, allocations: 83.95 kB / 0.7938 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.3242, allocations: 26.73 kB / 0.7939 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.3251, allocations: 442 kB / 0.7943 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3254, allocations: 0.7244 MB / 0.795 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3254, allocations: 15.44 kB / 0.795 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3254, allocations: 0 / 0.795 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.006143/0.3316, allocations: 3.766 MB / 0.7987 GB, free: 13.85 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.makefile make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilterCalcHelperMain.o OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilterCalcHelperMain.o] Error 1