Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 99.12 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.001516/0.001516, allocations: 179.9 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.423/1.423, allocations: 223.2 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.781/2.781, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 15.94 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.867, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001658/0.8687, allocations: 1.153 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000509/0.8692, allocations: 244.1 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.8693, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.8693, allocations: 3.984 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.455e-05/0.8694, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.8697, allocations: 47.89 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.8698, allocations: 19.92 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.8698, allocations: 4 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.8699, allocations: 4 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.8699, allocations: 11.92 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.8699, allocations: 4 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.8701, allocations: 59.88 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.8701, allocations: 7.984 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.8701, allocations: 33.7 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.434e-05/0.8702, allocations: 31.94 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8703, allocations: 4 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8703, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.8703, allocations: 0 / 1.023 GB, free: 15.47 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.0004312/0.8707, allocations: 349.2 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.8708, allocations: 15.98 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.8708, allocations: 4 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.8709, allocations: 163.1 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.871, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.871, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.8712, allocations: 65.55 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.8712, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.8712, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8712, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.8714, allocations: 47.95 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.8717, allocations: 252.8 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.8718, allocations: 46.56 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.8719, allocations: 28.89 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/0.8726, allocations: 465.4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.8726, allocations: 30.56 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8726, allocations: 0 / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003339/0.873, allocations: 105.6 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.873, allocations: 51.41 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.8731, allocations: 97.86 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.8731, allocations: 25.7 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.531e-05/0.8732, allocations: 80.14 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8732, allocations: 16.02 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.8732, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8733, allocations: 318.8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.8734, allocations: 15.98 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.8735, allocations: 27.98 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.8736, allocations: 19.97 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8736, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.8738, allocations: 81.62 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.8738, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8738, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8738, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.8739, allocations: 11.98 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.8739, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.874, allocations: 15.98 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.874, allocations: 4.031 kB / 1.026 GB, free: 12.86 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 7.422e-05/0.8741, allocations: 109.8 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.8741, allocations: 3.953 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.8743, allocations: 80.78 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8743, allocations: 4.031 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8743, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.8743, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8745, allocations: 161.6 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8745, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.8746, allocations: 11.98 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8746, allocations: 3.953 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.8746, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8746, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8746, allocations: 4 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.8748, allocations: 171.4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.8749, allocations: 77.11 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.8749, allocations: 11.98 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.875, allocations: 7.984 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.875, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.875, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.8751, allocations: 75.47 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.733e-06/0.8751, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00023/0.8753, allocations: 23.92 kB / 1.026 GB, free: 12.01 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.0001954/0.8755, allocations: 119.4 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001944/0.8757, allocations: 51.95 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8757, allocations: 0 / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.8758, allocations: 19.98 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.876, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.8764, allocations: 134.5 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.8766, allocations: 0.6848 MB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.8767, allocations: 7.438 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.8767, allocations: 7.875 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002115/0.8788, allocations: 0.7552 MB / 1.028 GB, free: 10.17 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1CalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BesselJ1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BesselJ1CalcHelperMain.o] Error 1