Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 85.95 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 197.4 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2528/0.2528, allocations: 45.9 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003065, allocations: 4 kB / 418.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 63.46 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00066/0.1515, allocations: 209.3 kB / 482.3 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1548, allocations: 2.013 MB / 484.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1548, allocations: 0 / 484.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.1549, allocations: 0 / 484.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.252e-05/0.1549, allocations: 0 / 484.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1562, allocations: 291.3 kB / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.99e-05/0.1563, allocations: 0 / 484.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.1564, allocations: 4 kB / 484.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.1564, allocations: 3.984 kB / 484.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004176/0.1606, allocations: 2.435 MB / 487.1 MB, free: 416 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1606, allocations: 0 / 487.1 MB, free: 416 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.1607, allocations: 7.984 kB / 487.1 MB, free: 408 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.1607, allocations: 7.984 kB / 487.1 MB, free: 400 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.1607, allocations: 25.7 kB / 487.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.169e-05/0.1608, allocations: 4 kB / 487.1 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1608, allocations: 0 / 487.1 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1608, allocations: 0 / 487.1 MB, free: 364 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1609, allocations: 4 kB / 487.1 MB, free: 360 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003203/0.1612, allocations: 323.3 kB / 487.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1612, allocations: 8.031 kB / 487.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.1615, allocations: 79.28 kB / 487.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1616, allocations: 246.3 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.078e-05/0.1617, allocations: 150.6 kB / 487.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.1618, allocations: 154.6 kB / 488 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.959e-05/0.1618, allocations: 104.9 kB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.1619, allocations: 75.28 kB / 488.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.1619, allocations: 154.5 kB / 488.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.162, allocations: 150.6 kB / 488.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.1621, allocations: 154.6 kB / 488.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.1624, allocations: 446 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.1625, allocations: 177.1 kB / 489.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.1625, allocations: 80.14 kB / 489.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1626, allocations: 79.22 kB / 489.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/0.1626, allocations: 117.8 kB / 489.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1627, allocations: 0 / 489.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.739e-05/0.1627, allocations: 29.66 kB / 489.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.1628, allocations: 178.1 kB / 489.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.163, allocations: 93.86 kB / 489.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.163, allocations: 25.7 kB / 489.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.163, allocations: 80.27 kB / 489.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.163, allocations: 7.938 kB / 489.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1631, allocations: 0 / 489.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1632, allocations: 314.8 kB / 490.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.511e-06/0.1632, allocations: 0 / 490.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.1632, allocations: 17.72 kB / 490.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.823e-05/0.1633, allocations: 75.28 kB / 490.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/0.1633, allocations: 75.28 kB / 490.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.834e-05/0.1634, allocations: 33.73 kB / 490.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.1634, allocations: 79.28 kB / 490.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.1635, allocations: 79.22 kB / 490.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.179e-05/0.1636, allocations: 154.6 kB / 490.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.1636, allocations: 83.2 kB / 490.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.295e-05/0.1637, allocations: 154.5 kB / 491 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.475e-05/0.1638, allocations: 79.28 kB / 491.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.1638, allocations: 87.22 kB / 491.2 MB, free: 12.04 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 (0): * Single equations (assignments): 0 * 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.0001234/0.1639, allocations: 256.4 kB / 491.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.164, allocations: 105 kB / 491.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.1641, allocations: 112 kB / 491.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.706e-05/0.1641, allocations: 176.3 kB / 491.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-05/0.1642, allocations: 192.2 kB / 492 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.305e-05/0.1643, allocations: 196.1 kB / 492.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1646, allocations: 397.2 kB / 492.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/0.1646, allocations: 104.9 kB / 492.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1647, allocations: 105 kB / 492.8 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.243e-05/0.1648, allocations: 184.3 kB / 492.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.1648, allocations: 180.2 kB / 493.1 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.647e-05/0.1649, allocations: 180.2 kB / 493.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-05/0.165, allocations: 184.2 kB / 493.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1651, allocations: 316 kB / 493.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-05/0.1652, allocations: 186.1 kB / 494 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.1653, allocations: 176.3 kB / 494.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1654, allocations: 108.9 kB / 494.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.1655, allocations: 176.3 kB / 494.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.1656, allocations: 108.9 kB / 494.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.1656, allocations: 79.28 kB / 494.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1656, allocations: 0 / 494.6 MB, free: 8.371 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1659, allocations: 4 kB / 494.6 MB, free: 8.367 MB / 366.1 MB 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 (0): * Single equations (assignments): 0 * 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.0001443/0.1661, allocations: 175 kB / 494.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.114e-05/0.1661, allocations: 0 / 494.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1661, allocations: 0 / 494.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1661, allocations: 0 / 494.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.1666, allocations: 0.5286 MB / 495.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002379/0.1668, allocations: 175.7 kB / 495.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1671, allocations: 0.677 MB / 496.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.043e-05/0.1672, allocations: 7.438 kB / 496.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1672, allocations: 0 / 496.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Templates: time 0.001576/0.1687, allocations: 355.4 kB / 496.5 MB, free: 6.391 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculatorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.o] Error 1