Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008553, allocations: 89.59 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000893/0.0008931, allocations: 197.1 kB / 18.54 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, 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.2505/0.2505, allocations: 45.92 MB / 344.7 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 4 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 63.47 MB / 482.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003843/0.1609, allocations: 2.84 MB / 485 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00326/0.1642, allocations: 1.517 MB / 486.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.1646, allocations: 19.88 kB / 486.5 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.1651, allocations: 115.2 kB / 486.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1655, allocations: 150.8 kB / 486.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1667, allocations: 426.4 kB / 487.2 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000943/0.1676, allocations: 0.8147 MB / 488 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.1679, allocations: 169.2 kB / 488.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.1684, allocations: 306.6 kB / 488.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.1688, allocations: 338.3 kB / 488.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.1689, allocations: 20 kB / 488.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.1692, allocations: 139.7 kB / 488.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1694, allocations: 143.4 kB / 489.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1695, allocations: 133.3 kB / 489.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006473/0.1702, allocations: 0.6275 MB / 489.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1702, allocations: 0 / 489.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1702, allocations: 0 / 489.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1702, allocations: 0 / 489.8 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002184/0.1724, allocations: 1.067 MB / 490.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.1724, allocations: 8.031 kB / 490.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.1727, allocations: 107 kB / 491 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009706/0.1737, allocations: 0.5381 MB / 491.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.1738, allocations: 37 kB / 491.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.1739, allocations: 52 kB / 491.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1751, allocations: 0.6377 MB / 492.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.1752, allocations: 0 / 492.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.1752, allocations: 28 kB / 492.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.1753, allocations: 12 kB / 492.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1763, allocations: 0.49 MB / 492.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003599/0.1799, allocations: 2.679 MB / 495.5 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.1809, allocations: 0.5277 MB / 496 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.1815, allocations: 290.8 kB / 496.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.1815, allocations: 4.234 kB / 496.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.1816, allocations: 38.8 kB / 496.3 MB, free: 6.871 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.1816, allocations: 4 kB / 496.3 MB, free: 6.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002502/0.1841, allocations: 1.218 MB / 497.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1842, allocations: 166.2 kB / 497.7 MB, free: 5.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.1851, allocations: 0.6489 MB / 498.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.1852, allocations: 37.69 kB / 498.4 MB, free: 4.738 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.1855, allocations: 356.8 kB / 498.7 MB, free: 4.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.1856, allocations: 185.3 kB / 498.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.1857, allocations: 8 kB / 498.9 MB, free: 4.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1858, allocations: 341.9 kB / 499.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.1865, allocations: 297.1 kB / 499.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/0.1872, allocations: 468.8 kB / 0.4883 GB, free: 3.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.1879, allocations: 355 kB / 0.4886 GB, free: 2.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1879, allocations: 0 / 0.4886 GB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001632/0.1896, allocations: 0.8591 MB / 0.4895 GB, free: 1.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.1898, allocations: 215.8 kB / 0.4897 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.1898, allocations: 7.984 kB / 0.4897 GB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.1898, allocations: 8 kB / 0.4897 GB, free: 1.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.1907, allocations: 207.8 kB / 0.4899 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.1907, allocations: 15.89 kB / 0.4899 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.1912, allocations: 91.62 kB / 0.49 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.1913, allocations: 20 kB / 0.49 GB, free: 1.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/0.1913, allocations: 4 kB / 0.49 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/0.1927, allocations: 0.7451 MB / 0.4908 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1927, allocations: 4 kB / 0.4908 GB, free: 468 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1927, allocations: 11.98 kB / 0.4908 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007709/0.1935, allocations: 200.2 kB / 0.491 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.1935, allocations: 11.98 kB / 0.491 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.194, allocations: 83.64 kB / 0.491 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.1941, allocations: 28 kB / 0.4911 GB, free: 132 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0004072/0.1945, allocations: 293.3 kB / 0.4914 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.1946, allocations: 75.06 kB / 0.4914 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.1948, allocations: 94.89 kB / 0.4915 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1949, allocations: 8.031 kB / 0.4915 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1949, allocations: 7.938 kB / 0.4915 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1949, allocations: 4 kB / 0.4915 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.1969, allocations: 1.287 MB / 0.4928 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1969, allocations: 0 / 0.4928 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.1975, allocations: 119.9 kB / 0.4929 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.1975, allocations: 4 kB / 0.4929 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.1976, allocations: 19.98 kB / 0.4929 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1976, allocations: 0 / 0.4929 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1976, allocations: 7.938 kB / 0.4929 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.1996, allocations: 1.231 MB / 0.4941 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.1999, allocations: 196.2 kB / 0.4943 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.2, allocations: 16 kB / 0.4943 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/0.2005, allocations: 59.94 kB / 0.4944 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2006, allocations: 47.94 kB / 0.4944 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2007, allocations: 11.98 kB / 0.4945 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006496/0.2013, allocations: 455 kB / 0.4949 GB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2013, allocations: 0 / 0.4949 GB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000925/0.2023, allocations: 228 kB / 0.4951 GB, free: 11.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * 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.0003545/0.2026, allocations: 139.1 kB / 0.4952 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.2048, allocations: 1.051 MB / 0.4963 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2048, allocations: 0 / 0.4963 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.2055, allocations: 318.6 kB / 0.4966 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.2065, allocations: 165.6 kB / 0.4967 GB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2092, allocations: 1.769 MB / 0.4985 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.2098, allocations: 0.9504 MB / 0.4994 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.21, allocations: 51.42 kB / 0.4994 GB, free: 7.371 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.21, allocations: 0 / 0.4994 GB, free: 7.371 MB / 382.1 MB Notification: Performance of Templates: time 0.2918/0.5018, allocations: 8.997 MB / 0.5082 GB, free: 39.76 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.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.Blocks.Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutputCalcHelperMain.o] Error 1