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.001172/0.001172, allocations: 101 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.001403/0.001403, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.726/1.726, 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.92/1.92, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005299/0.00053, allocations: 21.69 kB / 0.6744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2885, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.KalmanFilter): time 0.002176/0.2908, allocations: 1.408 MB / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002633/0.2934, allocations: 1.71 MB / 0.791 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.2936, allocations: 4 kB / 0.791 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.2938, allocations: 11.86 kB / 0.791 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2939, allocations: 27.78 kB / 0.791 GB, free: 8.766 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.0008944/0.2948, allocations: 247.5 kB / 0.7912 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.2951, allocations: 163.5 kB / 0.7914 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2952, allocations: 33.8 kB / 0.7914 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2953, allocations: 59.77 kB / 0.7915 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.2954, allocations: 63.69 kB / 0.7915 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2955, allocations: 12 kB / 0.7916 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.2959, allocations: 231.6 kB / 0.7918 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.296, allocations: 43.88 kB / 0.7918 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.2961, allocations: 41.64 kB / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.2965, allocations: 267.4 kB / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2965, allocations: 0 / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2965, allocations: 0 / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2965, allocations: 0 / 0.7921 GB, free: 7.621 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.000829/0.2973, allocations: 494.7 kB / 0.7926 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2974, allocations: 12.02 kB / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.2974, allocations: 19.77 kB / 0.7926 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.2977, allocations: 218.7 kB / 0.7928 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.2977, allocations: 8 kB / 0.7928 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.2978, allocations: 16 kB / 0.7929 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.2981, allocations: 143.3 kB / 0.793 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2981, allocations: 0 / 0.793 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2981, allocations: 7.984 kB / 0.793 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2982, allocations: 0 / 0.793 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2984, allocations: 83.89 kB / 0.7931 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.2992, allocations: 412.7 kB / 0.7935 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.2995, allocations: 154.6 kB / 0.7936 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.2997, allocations: 64.83 kB / 0.7937 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2997, allocations: 11.97 kB / 0.7937 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.3001, allocations: 160.9 kB / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.3001, allocations: 0 / 0.7938 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006498/0.3007, allocations: 300 kB / 0.7941 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.3008, allocations: 89.06 kB / 0.7942 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.301, allocations: 167.3 kB / 0.7944 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.301, allocations: 33.7 kB / 0.7944 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.3011, allocations: 112.5 kB / 0.7945 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.3012, allocations: 47.45 kB / 0.7946 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.3012, allocations: 8.031 kB / 0.7946 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3014, allocations: 326.8 kB / 0.7949 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3015, allocations: 71.94 kB / 0.7949 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3018, allocations: 164.8 kB / 0.7951 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.302, allocations: 95.98 kB / 0.7952 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.302, allocations: 0 / 0.7952 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005626/0.3026, allocations: 285 kB / 0.7955 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3026, allocations: 4 kB / 0.7955 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3027, allocations: 4.375 kB / 0.7955 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.3027, allocations: 8 kB / 0.7955 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3029, allocations: 35.92 kB / 0.7955 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.3029, allocations: 11.92 kB / 0.7955 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.303, allocations: 27.8 kB / 0.7956 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3031, allocations: 12 kB / 0.7956 GB, free: 3.801 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,$PRE.kalFil.firstTrigger,kalFil.firstTrigger,$PRE.kalFil.yR[1],kalFil.yR[1],$PRE.kalFil.uRIntPre[1],kalFil.uRIntPre[1],$PRE.ran.firstTrigger,ran.firstTrigger,$PRE.ran.uRIntPre[1],ran.uRIntPre[1],$whenCondition1,ran.sampleTrigger,$PRE.ran.uRWri[1],ran.uRWri[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/0.3033, allocations: 151.5 kB / 0.7957 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.3034, allocations: 15.86 kB / 0.7957 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.3034, allocations: 25.84 kB / 0.7958 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3035, allocations: 0 / 0.7958 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.3035, allocations: 8 kB / 0.7958 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3035, allocations: 3.938 kB / 0.7958 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3045, allocations: 0.5607 MB / 0.7963 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3045, allocations: 0 / 0.7963 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/0.3047, allocations: 23.92 kB / 0.7963 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3047, allocations: 0 / 0.7963 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.3047, allocations: 7.984 kB / 0.7963 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3047, allocations: 3.953 kB / 0.7963 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3047, allocations: 0 / 0.7963 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.3055, allocations: 423 kB / 0.7967 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.3055, allocations: 100.9 kB / 0.7968 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.3056, allocations: 8.062 kB / 0.7969 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3057, allocations: 19.94 kB / 0.7969 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.3058, allocations: 15.97 kB / 0.7969 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3058, allocations: 8 kB / 0.7969 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000122/0.306, allocations: 116 kB / 0.797 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.306, allocations: 4 kB / 0.797 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005772/0.3066, allocations: 99.97 kB / 0.7971 GB, free: 2.125 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 (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.0009821/0.3076, allocations: 429.2 kB / 0.7975 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.308, allocations: 187.7 kB / 0.7977 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.308, allocations: 0 / 0.7977 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3082, allocations: 83.89 kB / 0.7978 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3086, allocations: 28.78 kB / 0.7978 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008925/0.3095, allocations: 448.9 kB / 0.7982 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3098, allocations: 0.7166 MB / 0.7989 GB, free: 308 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3099, allocations: 15.44 kB / 0.7989 GB, free: 296 kB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.3099, allocations: 0 / 0.7989 GB, free: 296 kB / 0.6075 GB Notification: Performance of Templates: time 0.006578/0.3165, allocations: 3.739 MB / 0.8026 GB, free: 12.56 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++ 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/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/c/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