Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 89.28 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.525/1.525, allocations: 223.2 MB / 242.5 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2731/0.2731, allocations: 44.22 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 8 kB / 410.3 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 61.93 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0006801/0.1432, allocations: 250.9 kB / 472.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006575/0.1439, allocations: 348.9 kB / 472.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1439, allocations: 0 / 472.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.144, allocations: 0 / 472.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.787e-05/0.144, allocations: 7.938 kB / 472.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1443, allocations: 67.86 kB / 472.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.1444, allocations: 23.92 kB / 472.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.1445, allocations: 4 kB / 472.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/0.1445, allocations: 15.86 kB / 472.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1446, allocations: 19.91 kB / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1446, allocations: 11.94 kB / 472.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.1448, allocations: 107.9 kB / 473 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.1448, allocations: 3.984 kB / 473 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.1449, allocations: 41.62 kB / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.145, allocations: 51.92 kB / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.145, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.145, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1451, allocations: 0 / 473.1 MB, free: 12.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004688/0.1455, allocations: 361.8 kB / 473.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.1456, allocations: 12.03 kB / 473.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1456, allocations: 4 kB / 473.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1458, allocations: 170.9 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1458, allocations: 4 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1458, allocations: 4 kB / 473.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.146, allocations: 61.58 kB / 473.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.146, allocations: 0 / 473.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.146, allocations: 0 / 473.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.146, allocations: 0 / 473.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.1461, allocations: 27.97 kB / 473.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.1463, allocations: 169.7 kB / 473.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1465, allocations: 58.58 kB / 474 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1466, allocations: 24.86 kB / 474 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.1468, allocations: 117.1 kB / 474.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1469, allocations: 38.52 kB / 474.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1469, allocations: 0 / 474.1 MB, free: 11.59 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.03336/0.1802, allocations: 2.818 MB / 477 MB, free: 8.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1803, allocations: 55.41 kB / 477 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.1804, allocations: 105.8 kB / 477.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1805, allocations: 29.7 kB / 477.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.1805, allocations: 80.14 kB / 477.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.1806, allocations: 67.09 kB / 477.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.1806, allocations: 8 kB / 477.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1808, allocations: 318.8 kB / 477.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.1811, allocations: 187.9 kB / 477.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.1815, allocations: 187.9 kB / 478 MB, free: 7.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.182, allocations: 230.2 kB / 478.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.182, allocations: 0 / 478.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001015/0.1831, allocations: 493.3 kB / 478.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1831, allocations: 6.5 kB / 478.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.1831, allocations: 0 / 478.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1831, allocations: 0 / 478.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.1835, allocations: 83.88 kB / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1835, allocations: 480 / 478.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1837, allocations: 27.98 kB / 478.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1837, allocations: 15.98 kB / 478.8 MB, free: 6.836 MB / 350.1 MB 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 (19): * Single equations (assignments): 19 * 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.000118/0.1839, allocations: 122.4 kB / 478.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1839, allocations: 11.86 kB / 479 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.1852, allocations: 0.5786 MB / 479.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1853, allocations: 0 / 479.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1853, allocations: 4 kB / 479.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1853, allocations: 4 kB / 479.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.1873, allocations: 0.9439 MB / 480.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1874, allocations: 4 kB / 480.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.1876, allocations: 75.88 kB / 480.6 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1876, allocations: 4 kB / 480.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.1877, allocations: 15.98 kB / 480.6 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1877, allocations: 4 kB / 480.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1877, allocations: 96 / 480.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.1886, allocations: 0.5002 MB / 481.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1887, allocations: 85.02 kB / 481.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.1887, allocations: 7.984 kB / 481.2 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1889, allocations: 31.97 kB / 481.2 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1889, allocations: 19.94 kB / 481.2 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.189, allocations: 16.23 kB / 481.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.406e-05/0.189, allocations: 83.28 kB / 481.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.189, allocations: 0 / 481.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009564/0.19, allocations: 320 kB / 481.6 MB, free: 3.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.001204/0.1912, allocations: 235 kB / 481.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.192, allocations: 363.8 kB / 482.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.192, allocations: 0 / 482.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.1923, allocations: 171.9 kB / 482.4 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1926, allocations: 8 kB / 482.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1939, allocations: 0.502 MB / 482.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.1942, allocations: 0.6929 MB / 483.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.1944, allocations: 55.41 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1944, allocations: 0 / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Templates: time 0.01136/0.2058, allocations: 6.54 MB / 490.2 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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 OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o] Error 1