Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009578/0.0009577, allocations: 97.05 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.001342/0.001342, 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.559/1.559, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 45.91 MB / 344.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 418.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1539, allocations: 63.47 MB / 482.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.004009/0.1579, allocations: 2.817 MB / 484.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.1612, allocations: 1.521 MB / 486.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000342/0.1616, allocations: 19.88 kB / 486.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.1621, allocations: 111.2 kB / 486.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.1626, allocations: 147 kB / 486.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1636, allocations: 434.6 kB / 487.2 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008265/0.1645, allocations: 0.7679 MB / 487.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.1648, allocations: 173.2 kB / 488.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.1652, allocations: 290.6 kB / 488.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.1657, allocations: 330.3 kB / 488.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1658, allocations: 24 kB / 488.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.655e-05/0.1659, allocations: 24 kB / 488.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.1661, allocations: 147.4 kB / 488.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1662, allocations: 133.3 kB / 489 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.1668, allocations: 0.5339 MB / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1668, allocations: 0 / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1669, allocations: 0 / 489.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1669, allocations: 0 / 489.5 MB, free: 13.97 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.002216/0.1691, allocations: 1.055 MB / 490.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1692, allocations: 12.03 kB / 490.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.1694, allocations: 103 kB / 490.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008478/0.1703, allocations: 0.5342 MB / 491.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.1704, allocations: 37 kB / 491.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.1705, allocations: 52 kB / 491.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1716, allocations: 0.6377 MB / 492 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1716, allocations: 8 kB / 492 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.812e-05/0.1717, allocations: 20 kB / 492 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1717, allocations: 12 kB / 492 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1727, allocations: 0.49 MB / 492.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.1763, allocations: 2.643 MB / 495.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1773, allocations: 0.5857 MB / 495.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.1779, allocations: 269.1 kB / 496 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.1779, allocations: 4 kB / 496 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.178, allocations: 42.56 kB / 496 MB, free: 7.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.178, allocations: 0 / 496 MB, free: 7.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002378/0.1804, allocations: 1.218 MB / 497.3 MB, free: 5.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.1805, allocations: 162.2 kB / 497.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.1813, allocations: 0.6451 MB / 498.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1814, allocations: 29.7 kB / 498.1 MB, free: 5.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.1817, allocations: 372 kB / 498.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.1818, allocations: 177.5 kB / 498.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1819, allocations: 12 kB / 498.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.182, allocations: 330 kB / 499 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.1826, allocations: 281.1 kB / 499.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/0.1833, allocations: 449.2 kB / 499.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.1839, allocations: 322 kB / 500 MB, free: 3.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.184, allocations: 0 / 500 MB, free: 3.086 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001649/0.1856, allocations: 0.8583 MB / 0.4891 GB, free: 2.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/0.1858, allocations: 229.7 kB / 0.4893 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1858, allocations: 4 kB / 0.4893 GB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.1861, allocations: 56.81 kB / 0.4894 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.187, allocations: 203.8 kB / 0.4896 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/0.1885, allocations: 1.499 MB / 0.491 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.189, allocations: 91.62 kB / 0.4911 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.1891, allocations: 24 kB / 0.4912 GB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.1891, allocations: 4 kB / 0.4912 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001382/0.1905, allocations: 0.736 MB / 0.4919 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1905, allocations: 8.031 kB / 0.4919 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.1907, allocations: 60.81 kB / 0.4919 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.1914, allocations: 195.8 kB / 0.4921 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.1927, allocations: 1.511 MB / 0.4936 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.1931, allocations: 79.58 kB / 0.4937 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.1932, allocations: 28 kB / 0.4937 GB, free: 13.17 MB / 382.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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.1935, allocations: 293.2 kB / 0.494 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.1937, allocations: 75.06 kB / 0.4941 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.1939, allocations: 90.22 kB / 0.4941 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1939, allocations: 11.94 kB / 0.4942 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1939, allocations: 0 / 0.4942 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1939, allocations: 4 kB / 0.4942 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1952, allocations: 0.857 MB / 0.495 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.1952, allocations: 4 kB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.1958, allocations: 119.8 kB / 0.4951 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1958, allocations: 7.953 kB / 0.4951 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.1959, allocations: 12 kB / 0.4951 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.1959, allocations: 7.984 kB / 0.4951 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1959, allocations: 0 / 0.4951 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.1978, allocations: 1.192 MB / 0.4963 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.198, allocations: 196.2 kB / 0.4965 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.1981, allocations: 23.89 kB / 0.4965 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.1986, allocations: 59.94 kB / 0.4966 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1987, allocations: 47.88 kB / 0.4966 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.1988, allocations: 8 kB / 0.4966 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006142/0.1994, allocations: 463 kB / 0.4971 GB, free: 9.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1994, allocations: 0 / 0.4971 GB, free: 9.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007712/0.2002, allocations: 196 kB / 0.4973 GB, free: 9.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001565/0.2003, allocations: 115 kB / 0.4974 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.2027, allocations: 1.256 MB / 0.4986 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2027, allocations: 0 / 0.4986 GB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.2034, allocations: 299.7 kB / 0.4989 GB, free: 7.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.2044, allocations: 177 kB / 0.499 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.2071, allocations: 1.754 MB / 0.5008 GB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.2077, allocations: 0.9498 MB / 0.5017 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.2079, allocations: 55.42 kB / 0.5017 GB, free: 4.734 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2079, allocations: 0 / 0.5017 GB, free: 4.734 MB / 382.1 MB Notification: Performance of Templates: time 0.2789/0.4868, allocations: 9.943 MB / 0.5114 GB, free: 37.8 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyStateCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.o] Error 1