Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.000973, 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.001258/0.001258, allocations: 174.9 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.548/1.548, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.878/2.878, allocations: 436.7 MB / 0.7113 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003912, allocations: 12.22 kB / 0.8717 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8006, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007747/0.8014, allocations: 313.4 kB / 1.022 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004305/0.8019, allocations: 171.5 kB / 1.022 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.121e-05/0.8019, allocations: 0 / 1.022 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.8019, allocations: 0 / 1.022 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.8019, allocations: 0 / 1.022 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.8023, allocations: 47.89 kB / 1.022 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.8023, allocations: 7.922 kB / 1.022 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.8024, allocations: 4 kB / 1.022 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.387e-05/0.8024, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.486e-05/0.8024, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.464e-06/0.8024, allocations: 0 / 1.022 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.8026, allocations: 59.89 kB / 1.022 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.891e-06/0.8026, allocations: 0 / 1.022 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.8026, allocations: 25.7 kB / 1.022 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.532e-05/0.8027, allocations: 23.95 kB / 1.022 GB, free: 488 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.8027, allocations: 4 kB / 1.022 GB, free: 484 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8028, allocations: 0 / 1.022 GB, free: 484 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.8028, allocations: 0 / 1.022 GB, free: 484 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002884/0.8031, allocations: 321.3 kB / 1.023 GB, free: 116 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.8031, allocations: 15.98 kB / 1.023 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.8031, allocations: 0 / 1.023 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.8033, allocations: 163.1 kB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.8033, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.8033, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.8034, allocations: 45.58 kB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.8034, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.8034, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8035, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.8035, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.8036, allocations: 149.7 kB / 1.023 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.447e-05/0.8037, allocations: 14.58 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.8037, allocations: 4.859 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007221/0.8044, allocations: 457.5 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.8045, allocations: 42.45 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.323e-06/0.8045, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.8046, allocations: 33.7 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.8047, allocations: 55.53 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.771e-05/0.8047, allocations: 89.86 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.8047, allocations: 25.7 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.8048, allocations: 88.06 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.8048, allocations: 3.906 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.8048, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8049, allocations: 314.8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.8049, allocations: 8 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.8049, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.449e-05/0.805, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.805, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.767e-05/0.805, allocations: 37.64 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8051, allocations: 4 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8051, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8051, allocations: 3.953 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.8051, allocations: 3.984 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.8051, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-06/0.8051, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.8052, allocations: 4.094 kB / 1.024 GB, free: 14.31 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 (1): * Single equations (assignments): 1 * 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 6.826e-05/0.8052, allocations: 105.8 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-06/0.8052, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.8053, allocations: 44.75 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8053, allocations: 7.953 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8054, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.8054, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.8055, allocations: 141.7 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8055, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.8055, allocations: 4.031 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8055, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.8055, allocations: 4 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8055, allocations: 0 / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8055, allocations: 7.938 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.919e-05/0.8056, allocations: 53.14 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.8056, allocations: 81.11 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.8057, allocations: 4.031 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-06/0.8057, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.8057, allocations: 7.922 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.8057, allocations: 3.953 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.8057, allocations: 75.28 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8057, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001895/0.8059, allocations: 12 kB / 1.025 GB, free: 13.66 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 (1): * Single equations (assignments): 1 * 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.0002175/0.8062, allocations: 119.2 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.064e-05/0.8062, allocations: 3.984 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8062, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/0.8062, allocations: 8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.8064, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.8066, allocations: 96.47 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.8068, allocations: 0.6848 MB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.8069, allocations: 11.38 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8069, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.001922/0.8088, allocations: 0.5425 MB / 1.026 GB, free: 12.13 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ0CalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0CalcHelperMain.o] Error 1