Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.0008481, allocations: 101.9 kB / 15.71 MB, free: 456 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.0008672/0.0008668, allocations: 177.4 kB / 16.58 MB, free: 6.859 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.391/1.391, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 12 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8085, allocations: 153.7 MB / 1.022 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001603/0.8101, allocations: 1.153 MB / 1.023 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.8106, allocations: 224.3 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.8107, allocations: 3.938 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.8107, allocations: 3.938 kB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.8107, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.8111, allocations: 47.89 kB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.8111, allocations: 23.92 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.212e-05/0.8112, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.8113, allocations: 7.984 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.8113, allocations: 11.94 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.8113, allocations: 0 / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.8115, allocations: 63.86 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.8115, allocations: 4 kB / 1.023 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.8115, allocations: 29.7 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.657e-05/0.8116, allocations: 39.94 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8116, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8116, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.8117, allocations: 0 / 1.023 GB, free: 15.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004968/0.8122, allocations: 341.4 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.8122, allocations: 11.98 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.8123, allocations: 3.938 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.8125, allocations: 175 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.8125, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.8125, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.8127, allocations: 57.62 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.8127, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.8127, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8127, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.8129, allocations: 51.95 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.8132, allocations: 244.9 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.8134, allocations: 50.5 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.8135, allocations: 28.89 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.8141, allocations: 461.4 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.8142, allocations: 34.56 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.504e-06/0.8142, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.8145, allocations: 105.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.8146, allocations: 51.41 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.8147, allocations: 101.8 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.8147, allocations: 25.7 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.8148, allocations: 92.06 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.8148, allocations: 3.906 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.8148, allocations: 4.125 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8149, allocations: 318.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.815, allocations: 19.98 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.8151, allocations: 19.98 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.8152, allocations: 24.05 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.8152, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001742/0.8153, allocations: 77.61 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8154, allocations: 8.031 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.8154, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8154, allocations: 4 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.8155, allocations: 15.92 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8155, allocations: 0 / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.8155, allocations: 8 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.8156, allocations: 7.984 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.156e-05/0.8156, allocations: 109.8 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.8157, allocations: 3.953 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.8159, allocations: 80.78 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8159, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8159, allocations: 4.031 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8159, allocations: 192 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.8161, allocations: 165.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8161, allocations: 3.938 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.8162, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.8162, allocations: 11.88 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.8162, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.8162, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8162, allocations: 3.984 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.8164, allocations: 171.4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.8165, allocations: 85.09 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.8165, allocations: 3.953 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.8166, allocations: 11.97 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.8166, allocations: 7.984 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.8166, allocations: 0 / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.8167, allocations: 79.28 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8167, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002248/0.8169, allocations: 12 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002107/0.8171, allocations: 123.2 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.8173, allocations: 47.91 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8173, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.8174, allocations: 28.03 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.8177, allocations: 11.94 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.818, allocations: 122.4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.8183, allocations: 0.6731 MB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.8183, allocations: 19.5 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8183, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002354/0.8207, allocations: 0.7601 MB / 1.028 GB, free: 10.35 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.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_latest_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.o] Error 1