Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000762/0.000762, allocations: 91.78 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009009/0.0009008, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 45.93 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 63.47 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008667/0.1629, allocations: 258.9 kB / 482.4 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000764/0.1637, allocations: 337.8 kB / 482.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.1637, allocations: 4 kB / 482.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.1637, allocations: 3.938 kB / 482.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1638, allocations: 3.938 kB / 482.7 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.1642, allocations: 75.8 kB / 482.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.1643, allocations: 19.98 kB / 482.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.344e-05/0.1644, allocations: 7.922 kB / 482.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.1644, allocations: 12 kB / 482.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1645, allocations: 19.92 kB / 482.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1645, allocations: 0 / 482.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.1647, allocations: 111.9 kB / 483 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1648, allocations: 7.938 kB / 483 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1648, allocations: 29.7 kB / 483 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.165, allocations: 55.91 kB / 483 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.165, allocations: 4 kB / 483.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.165, allocations: 0 / 483.1 MB, free: 4.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.165, allocations: 0 / 483.1 MB, free: 4.496 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.0004535/0.1655, allocations: 359.5 kB / 483.4 MB, free: 4.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1655, allocations: 8.031 kB / 483.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1656, allocations: 8 kB / 483.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.1657, allocations: 174.8 kB / 483.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1658, allocations: 4 kB / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1658, allocations: 4 kB / 483.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1659, allocations: 57.61 kB / 483.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1659, allocations: 0 / 483.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.166, allocations: 0 / 483.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.166, allocations: 4 kB / 483.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.1661, allocations: 31.97 kB / 483.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.1663, allocations: 177.5 kB / 483.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1665, allocations: 50.56 kB / 483.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.1666, allocations: 24.84 kB / 483.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/0.1669, allocations: 129 kB / 484.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.167, allocations: 34.5 kB / 484.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.167, allocations: 288 / 484.1 MB, free: 3.27 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.03446/0.2015, allocations: 2.816 MB / 486.9 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.2016, allocations: 59.34 kB / 487 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.2017, allocations: 102 kB / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.2017, allocations: 25.7 kB / 487.1 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.2018, allocations: 88.14 kB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.995e-05/0.2019, allocations: 63.09 kB / 487.2 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.202, allocations: 4 kB / 487.2 MB, free: 52 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.2022, allocations: 318.8 kB / 487.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2026, allocations: 195.8 kB / 487.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.203, allocations: 187.9 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.2035, allocations: 218 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2035, allocations: 0 / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00101/0.2045, allocations: 493.3 kB / 488.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2046, allocations: 4 kB / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2046, allocations: 64 / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.2046, allocations: 15.94 kB / 488.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.205, allocations: 75.88 kB / 488.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.205, allocations: 3.984 kB / 488.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2052, allocations: 31.98 kB / 488.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2053, allocations: 15.98 kB / 488.8 MB, free: 14.51 MB / 366.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.0001273/0.2054, allocations: 117.8 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2054, allocations: 11.84 kB / 488.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.2068, allocations: 0.571 MB / 489.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.2068, allocations: 8 kB / 489.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2068, allocations: 0 / 489.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2069, allocations: 0 / 489.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.2091, allocations: 0.9285 MB / 490.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2091, allocations: 4 kB / 490.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.2094, allocations: 79.88 kB / 490.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.2094, allocations: 7.953 kB / 490.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.2094, allocations: 12.17 kB / 490.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.2095, allocations: 8 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.2095, allocations: 4 kB / 490.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.2104, allocations: 0.4886 MB / 491 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.2105, allocations: 85.02 kB / 491.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.2105, allocations: 8 kB / 491.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2107, allocations: 32.44 kB / 491.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.2108, allocations: 19.88 kB / 491.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.2108, allocations: 12 kB / 491.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.193e-05/0.2109, allocations: 91.27 kB / 491.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2109, allocations: 0 / 491.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001038/0.2119, allocations: 319.9 kB / 491.6 MB, free: 11.58 MB / 366.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.001469/0.2134, allocations: 231.5 kB / 491.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009025/0.2143, allocations: 371.7 kB / 492.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2143, allocations: 4 kB / 492.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.2147, allocations: 168.1 kB / 492.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.215, allocations: 15.95 kB / 492.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2163, allocations: 0.5 MB / 492.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.2167, allocations: 0.6929 MB / 493.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.2169, allocations: 51.41 kB / 493.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2169, allocations: 0 / 493.6 MB, free: 9.473 MB / 366.1 MB Notification: Performance of Templates: time 0.01252/0.2294, allocations: 6.547 MB / 0.4884 GB, free: 2.973 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegSquare2DerivativesCalcHelperMain.o] Error 1