Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001177/0.001177, allocations: 100.5 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.001528/0.001528, allocations: 176 kB / 16.58 MB, free: 6.879 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.4 MB / 0.6662 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 12 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8229/0.8232, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter): time 0.001593/0.8249, allocations: 1.417 MB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.8268, allocations: 1.688 MB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.8269, allocations: 2.062 kB / 0.9574 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.8271, allocations: 26 kB / 0.9575 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.8272, allocations: 15.25 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.8279, allocations: 261.7 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.8281, allocations: 187 kB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.8282, allocations: 29.38 kB / 0.9579 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.8283, allocations: 72 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.8284, allocations: 69.78 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.8285, allocations: 5.75 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.8288, allocations: 237.5 kB / 0.9583 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-05/0.829, allocations: 48.89 kB / 0.9583 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.829, allocations: 53.11 kB / 0.9584 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.8293, allocations: 254.2 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.8293, allocations: 1.469 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8293, allocations: 0 / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8293, allocations: 0 / 0.9586 GB, free: 4.879 MB / 0.7169 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.0006248/0.83, allocations: 0.5108 MB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.83, allocations: 8.969 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.83, allocations: 16.78 kB / 0.9592 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.8302, allocations: 219 kB / 0.9594 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.8302, allocations: 17.11 kB / 0.9594 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.8303, allocations: 13.03 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.8306, allocations: 159.2 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8306, allocations: 0 / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.8306, allocations: 1.375 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8306, allocations: 6.703 kB / 0.9596 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.8308, allocations: 87.38 kB / 0.9596 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.8315, allocations: 435.8 kB / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.8318, allocations: 154.4 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.832, allocations: 76.39 kB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.832, allocations: 10.11 kB / 0.9603 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.8323, allocations: 167.7 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.8323, allocations: 1.312 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006468/0.8329, allocations: 324.1 kB / 0.9608 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.833, allocations: 88.22 kB / 0.9608 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.8331, allocations: 164.5 kB / 0.961 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.8331, allocations: 43.19 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.8332, allocations: 111.5 kB / 0.9611 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.8332, allocations: 64.84 kB / 0.9612 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.8333, allocations: 4 kB / 0.9612 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.8333, allocations: 336.3 kB / 0.9615 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.8335, allocations: 77.89 kB / 0.9616 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.8336, allocations: 177.6 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.8338, allocations: 110.2 kB / 0.9619 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8338, allocations: 1.125 kB / 0.9619 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004628/0.8343, allocations: 305.6 kB / 0.9622 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8343, allocations: 11.81 kB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8344, allocations: 3 kB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.8344, allocations: 6.156 kB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.8345, allocations: 45.62 kB / 0.9622 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.8346, allocations: 12.75 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.8347, allocations: 22.25 kB / 0.9623 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.8347, allocations: 13.81 kB / 0.9623 GB, free: 1.969 MB / 0.7169 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.0001239/0.8348, allocations: 161.1 kB / 0.9624 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.8349, allocations: 17.44 kB / 0.9624 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.8349, allocations: 21.67 kB / 0.9625 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8349, allocations: 2 kB / 0.9625 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8349, allocations: 4.984 kB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8349, allocations: 1.094 kB / 0.9625 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007327/0.8357, allocations: 0.589 MB / 0.9631 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8357, allocations: 1.125 kB / 0.9631 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.8358, allocations: 15.92 kB / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8358, allocations: 2.25 kB / 0.9631 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.8358, allocations: 11.39 kB / 0.9631 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.8358, allocations: 1.188 kB / 0.9631 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8358, allocations: 5.125 kB / 0.9631 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.8364, allocations: 453.9 kB / 0.9635 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.8365, allocations: 89.55 kB / 0.9636 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.8365, allocations: 13.02 kB / 0.9636 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.8367, allocations: 17.8 kB / 0.9636 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.8367, allocations: 10.11 kB / 0.9636 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.8367, allocations: 11.8 kB / 0.9637 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.8368, allocations: 125.1 kB / 0.9638 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8368, allocations: 4.062 kB / 0.9638 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004617/0.8373, allocations: 117.8 kB / 0.9639 GB, free: 0.7656 MB / 0.7169 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.0007858/0.8381, allocations: 444.1 kB / 0.9643 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003939/0.8385, allocations: 204.1 kB / 0.9645 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8385, allocations: 7.938 kB / 0.9645 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.8387, allocations: 91.25 kB / 0.9646 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.839, allocations: 37.17 kB / 0.9646 GB, free: 408 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000609/0.8396, allocations: 438.8 kB / 0.9651 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.8399, allocations: 0.7272 MB / 0.9658 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.84, allocations: 17.56 kB / 0.9658 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.84, allocations: 0 / 0.9658 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.006579/0.8465, allocations: 3.896 MB / 0.9696 GB, free: 13.34 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilter.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Python_3_8.Examples.KalmanFilterCalcHelperMain.o] Error 1