Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008029/0.0008031, allocations: 89.47 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.0008874/0.0008875, allocations: 197.1 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.54/1.54, 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.2624/0.2624, allocations: 45.91 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 7.984 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006628/0.1641, allocations: 223 kB / 482.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.1644, allocations: 90.41 kB / 482.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.1644, allocations: 0 / 482.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.1644, allocations: 0 / 482.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1647, allocations: 23.91 kB / 482.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.532e-05/0.1647, allocations: 0 / 482.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.1647, allocations: 4 kB / 482.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.1648, allocations: 3.984 kB / 482.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.1648, allocations: 0 / 482.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.1649, allocations: 7.938 kB / 482.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1649, allocations: 0 / 482.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.165, allocations: 23.92 kB / 482.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.165, allocations: 11.97 kB / 482.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.1651, allocations: 25.7 kB / 482.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.768e-05/0.1651, allocations: 11.98 kB / 482.5 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1651, allocations: 4 kB / 482.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1652, allocations: 0 / 482.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1652, allocations: 0 / 482.5 MB, free: 4.996 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003103/0.1655, allocations: 311.4 kB / 482.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1655, allocations: 8.031 kB / 482.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1656, allocations: 4 kB / 482.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1657, allocations: 167 kB / 483 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1657, allocations: 0 / 483 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1658, allocations: 7.984 kB / 483 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.1659, allocations: 37.64 kB / 483.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1659, allocations: 0 / 483.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1659, allocations: 4 kB / 483.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1659, allocations: 0 / 483.1 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.1659, allocations: 7.984 kB / 483.1 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.1661, allocations: 157.9 kB / 483.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1663, allocations: 38.55 kB / 483.3 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.1664, allocations: 16.95 kB / 483.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.1667, allocations: 125 kB / 483.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1667, allocations: 34.56 kB / 483.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1668, allocations: 3.938 kB / 483.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001187/0.168, allocations: 217.3 kB / 483.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.168, allocations: 59.39 kB / 483.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.1681, allocations: 93.86 kB / 483.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1681, allocations: 25.7 kB / 483.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.1682, allocations: 80.14 kB / 483.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1682, allocations: 15.81 kB / 483.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.1682, allocations: 0 / 483.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1684, allocations: 314.8 kB / 484.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.1684, allocations: 27.97 kB / 484.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.1685, allocations: 28.11 kB / 484.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.464e-05/0.1686, allocations: 23.92 kB / 484.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1686, allocations: 0 / 484.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002135/0.1688, allocations: 89.59 kB / 484.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1689, allocations: 8 kB / 484.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1689, allocations: 0 / 484.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1689, allocations: 0 / 484.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.169, allocations: 15.98 kB / 484.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.169, allocations: 0 / 484.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.1691, allocations: 8 kB / 484.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1691, allocations: 3.984 kB / 484.4 MB, free: 2.867 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 (5): * Single equations (assignments): 5 * 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.0001021/0.1692, allocations: 118.3 kB / 484.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.1692, allocations: 7.906 kB / 484.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.1695, allocations: 101.1 kB / 484.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1695, allocations: 0 / 484.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1695, allocations: 0 / 484.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1695, allocations: 0 / 484.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.1703, allocations: 375.3 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1703, allocations: 4.312 kB / 485 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/0.1704, allocations: 19.98 kB / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1704, allocations: 0 / 485 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1704, allocations: 4.328 kB / 485 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1704, allocations: 0 / 485 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1704, allocations: 4.031 kB / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1707, allocations: 184.3 kB / 485.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.1707, allocations: 92.92 kB / 485.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1708, allocations: 4 kB / 485.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1709, allocations: 12 kB / 485.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1709, allocations: 3.984 kB / 485.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1709, allocations: 4 kB / 485.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.824e-05/0.1709, allocations: 75.28 kB / 485.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.171, allocations: 0 / 485.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.1712, allocations: 11.94 kB / 485.4 MB, free: 1.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001732/0.1714, allocations: 107.3 kB / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.1716, allocations: 51.95 kB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1716, allocations: 3.938 kB / 485.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.1717, allocations: 31.98 kB / 485.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1719, allocations: 7.953 kB / 485.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1724, allocations: 165.3 kB / 485.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.1728, allocations: 0.6731 MB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1728, allocations: 19.42 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1728, allocations: 0 / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Templates: time 0.002371/0.1752, allocations: 0.6568 MB / 487.1 MB, free: 15.97 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStepCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStepCalcHelperMain.o] Error 1