Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kalFil.uR.1.|kalFil.yR.1.|sine.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009036, allocations: 99.59 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.0008372/0.0008373, allocations: 176.1 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.444/1.444, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 436.7 MB / 0.7113 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9897/0.99, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.002699/0.9928, allocations: 1.423 MB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.9956, allocations: 1.701 MB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.9957, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.9959, allocations: 15.86 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.9961, allocations: 23.78 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.9969, allocations: 251.5 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000355/0.9972, allocations: 195.4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.9974, allocations: 21.55 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.9975, allocations: 71.69 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.9976, allocations: 67.67 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.9976, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.9981, allocations: 239.6 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.806e-05/0.9983, allocations: 47.88 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.9983, allocations: 45.64 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.9987, allocations: 261.5 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9987, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9987, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.9987, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008589/0.9996, allocations: 0.4989 MB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9996, allocations: 11.98 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.9997, allocations: 19.81 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/1, allocations: 223.5 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/1, allocations: 12.14 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/1, allocations: 19.91 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/1, allocations: 156.9 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/1, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.801e-05/1, allocations: 7.984 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.001, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/1.001, allocations: 84.5 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/1.002, allocations: 436.8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/1.002, allocations: 162.4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/1.002, allocations: 68.83 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/1.002, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/1.003, allocations: 170.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/1.003, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0007097/1.003, allocations: 319.4 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/1.003, allocations: 93.09 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/1.004, allocations: 170.8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/1.004, allocations: 33.7 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/1.004, allocations: 112.6 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/1.004, allocations: 55.28 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/1.004, allocations: 4 kB / 1.029 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.004, allocations: 346.8 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.004, allocations: 80.5 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/1.004, allocations: 184.6 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.005, allocations: 111.9 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.005, allocations: 4 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004874/1.005, allocations: 305 kB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.005, allocations: 4 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.005, allocations: 4 kB / 1.03 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.005, allocations: 7.953 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.005, allocations: 52.28 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.005, allocations: 7.938 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.005, allocations: 27.83 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/1.005, allocations: 8 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 25 ($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],$PRE.ran.uRWri_temp[1],ran.uRWri_temp[1],$whenCondition2,kalFil.sampleTrigger,$PRE.ran.yR[1],ran.yR[1],$PRE.kalFil.uRWri[1],kalFil.uRWri[1],$PRE.kalFil.uRWri_temp[1],kalFil.uRWri_temp[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002133/1.006, allocations: 160 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/1.006, allocations: 19.81 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/1.006, allocations: 21.86 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.006, allocations: 7.953 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.006, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.006, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009489/1.007, allocations: 0.5841 MB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.007, allocations: 0 / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.843e-05/1.007, allocations: 19.98 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.007, allocations: 0 / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/1.007, allocations: 15.94 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.007, allocations: 0 / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.007, allocations: 0 / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/1.008, allocations: 449.7 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/1.008, allocations: 92.92 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/1.008, allocations: 11.98 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.008, allocations: 20 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/1.008, allocations: 19.97 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/1.008, allocations: 11.98 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001163/1.008, allocations: 121.2 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/1.008, allocations: 0 / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005715/1.009, allocations: 111.8 kB / 1.031 GB, free: 6.988 MB / 0.7794 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: 15 (kalFil.sampleTrigger,ran.sampleTrigger,$whenCondition2,$whenCondition1,ran.firstTrigger,ran.yR[1],ran.uRIntPre[1],ran.uRWri[1],ran.uRWri_temp[1],kalFil.firstTrigger,kalFil.yR[1],kalFil.uRIntPre[1],kalFil.uRWri[1],kalFil.uRWri_temp[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 (20): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001153/1.01, allocations: 452 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004999/1.01, allocations: 197.8 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.01, allocations: 0.75 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/1.011, allocations: 99.84 kB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/1.011, allocations: 26.78 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/1.012, allocations: 437.2 kB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/1.012, allocations: 0.7284 MB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/1.012, allocations: 27.42 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/1.012, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.007463/1.02, allocations: 3.887 MB / 1.037 GB, free: 1.211 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.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/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.o] Error 1