Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.0009791/0.0009789, allocations: 102.7 kB / 15.71 MB, free: 460 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.001342/0.001342, allocations: 174.2 kB / 16.58 MB, free: 6.863 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.462/1.462, 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 9.1.2-maint.9.1.x/package.mo): time 2.636/2.636, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 8 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8483, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001464/0.8498, allocations: 1.145 MB / 0.9555 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.8503, allocations: 225.7 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.8503, allocations: 1.562 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.8504, allocations: 3.938 kB / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.8504, allocations: 0 / 0.9557 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.8507, allocations: 51.88 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.8508, allocations: 20.36 kB / 0.9558 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.45e-05/0.8509, allocations: 5.312 kB / 0.9558 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.8509, allocations: 8.125 kB / 0.9558 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.851, allocations: 10.42 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.851, allocations: 1.438 kB / 0.9558 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.8511, allocations: 63.09 kB / 0.9559 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-06/0.8512, allocations: 5.016 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.8512, allocations: 26.77 kB / 0.9559 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.8513, allocations: 31.86 kB / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8513, allocations: 0 / 0.956 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8513, allocations: 4 kB / 0.956 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.8513, allocations: 0 / 0.956 GB, free: 6.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003758/0.8517, allocations: 349.2 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.8518, allocations: 9.531 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.8518, allocations: 9.328 kB / 0.9563 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.902e-05/0.8519, allocations: 164.4 kB / 0.9565 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.8519, allocations: 3.938 kB / 0.9565 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.8519, allocations: 5.406 kB / 0.9565 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.8521, allocations: 54.11 kB / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8521, allocations: 0 / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.8521, allocations: 0 / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.8521, allocations: 1.344 kB / 0.9565 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.8523, allocations: 52.11 kB / 0.9566 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.8526, allocations: 252.9 kB / 0.9568 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.8527, allocations: 51.75 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.8528, allocations: 27.41 kB / 0.9569 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.8533, allocations: 452.4 kB / 0.9573 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.8534, allocations: 39.56 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8534, allocations: 0 / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.8537, allocations: 103.9 kB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.8537, allocations: 55.34 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.8538, allocations: 99.05 kB / 0.9576 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.8538, allocations: 25.7 kB / 0.9576 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.8539, allocations: 85.03 kB / 0.9577 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.8539, allocations: 8.906 kB / 0.9577 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.8539, allocations: 0.875 kB / 0.9577 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.8539, allocations: 312.3 kB / 0.958 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.854, allocations: 21.05 kB / 0.958 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.8541, allocations: 22.67 kB / 0.9581 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.8542, allocations: 26.5 kB / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8542, allocations: 0 / 0.9581 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.8543, allocations: 74.3 kB / 0.9582 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8544, allocations: 4.312 kB / 0.9582 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8544, allocations: 5.031 kB / 0.9582 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.8544, allocations: 8.016 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.8545, allocations: 16.98 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.8545, allocations: 0 / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.8545, allocations: 9.734 kB / 0.9582 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.8545, allocations: 1.156 kB / 0.9582 GB, free: 4.562 MB / 0.7169 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 5.137e-05/0.8546, allocations: 108.2 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.8546, allocations: 5.188 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.8548, allocations: 79.75 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.8549, allocations: 192 / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.8549, allocations: 8.906 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.8549, allocations: 3.984 kB / 0.9584 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.855, allocations: 158 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.855, allocations: 5.031 kB / 0.9586 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.8551, allocations: 11.61 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.8551, allocations: 1.094 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8551, allocations: 0 / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.8551, allocations: 5.125 kB / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8551, allocations: 0 / 0.9586 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.8553, allocations: 180.8 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.8554, allocations: 77.95 kB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.8554, allocations: 1.062 kB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.8554, allocations: 9.953 kB / 0.9588 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.8555, allocations: 5 kB / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.8555, allocations: 1.125 kB / 0.9588 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.443e-05/0.8555, allocations: 85.86 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8555, allocations: 1.094 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002479/0.8558, allocations: 20.77 kB / 0.9589 GB, free: 3.816 MB / 0.7169 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.0001994/0.856, allocations: 111.4 kB / 0.959 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.8562, allocations: 51.27 kB / 0.9591 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8562, allocations: 0 / 0.9591 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.8563, allocations: 28.42 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.8565, allocations: 5.344 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.8568, allocations: 132.7 kB / 0.9593 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.8569, allocations: 0.6768 MB / 0.9599 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.8569, allocations: 9.219 kB / 0.9599 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.857, allocations: 0 / 0.9599 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of Templates: time 0.002098/0.8591, allocations: 0.7691 MB / 0.9607 GB, free: 2.461 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.BesselJ0CalcHelperMain.o] Error 1