Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009084, allocations: 89.31 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 242.5 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 12 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1569, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002156/0.1591, allocations: 1.343 MB / 473.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.1601, allocations: 0.4991 MB / 474 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.1602, allocations: 0 / 474 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1604, allocations: 3.938 kB / 474 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.1604, allocations: 23.84 kB / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1607, allocations: 47.89 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1609, allocations: 91.7 kB / 474.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1611, allocations: 29.38 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1612, allocations: 35.84 kB / 474.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1613, allocations: 39.78 kB / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1614, allocations: 7.938 kB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.1614, allocations: 4 kB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.1615, allocations: 19.91 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.1615, allocations: 45.64 kB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.1616, allocations: 68.12 kB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.1617, allocations: 7.984 kB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1617, allocations: 0 / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1617, allocations: 0 / 474.4 MB, free: 11.45 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007556/0.1624, allocations: 387 kB / 474.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.1625, allocations: 16.56 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.1626, allocations: 7.906 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1629, allocations: 213.2 kB / 475 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1629, allocations: 8 kB / 475.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.163, allocations: 11.95 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.1633, allocations: 96.59 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1633, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1633, allocations: 0 / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1633, allocations: 4 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.1635, allocations: 55.91 kB / 475.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/0.1643, allocations: 388.5 kB / 475.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1645, allocations: 66.48 kB / 475.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.1646, allocations: 32.98 kB / 475.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1646, allocations: 0 / 475.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.1649, allocations: 99.34 kB / 475.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 6.743e-06/0.1649, allocations: 0 / 475.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004138/0.1653, allocations: 133.4 kB / 475.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1654, allocations: 59.3 kB / 476 MB, free: 9.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1655, allocations: 142 kB / 476.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.1656, allocations: 30.08 kB / 476.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.1657, allocations: 111.9 kB / 476.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.1657, allocations: 27.7 kB / 476.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-06/0.1657, allocations: 0 / 476.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1659, allocations: 326.8 kB / 476.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.166, allocations: 27.98 kB / 476.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1661, allocations: 91.7 kB / 476.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.011e-05/0.1662, allocations: 35.94 kB / 476.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1662, allocations: 0 / 476.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002618/0.1665, allocations: 141.4 kB / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1665, allocations: 8 kB / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1666, allocations: 0 / 476.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1666, allocations: 8.219 kB / 476.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1667, allocations: 23.98 kB / 476.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1667, allocations: 7.938 kB / 476.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.1668, allocations: 19.8 kB / 477 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.1668, allocations: 8 kB / 477 MB, free: 8.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y_last,mean1.y_last,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001214/0.167, allocations: 121.8 kB / 477.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.167, allocations: 11.91 kB / 477.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.167, allocations: 12.72 kB / 477.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1671, allocations: 0 / 477.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.1671, allocations: 4 kB / 477.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1671, allocations: 0 / 477.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1673, allocations: 205.5 kB / 477.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1673, allocations: 0 / 477.3 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1674, allocations: 19.92 kB / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1674, allocations: 4 kB / 477.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.1675, allocations: 4 kB / 477.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1675, allocations: 0 / 477.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1675, allocations: 3.984 kB / 477.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.1679, allocations: 172.9 kB / 477.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1679, allocations: 96.91 kB / 477.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.168, allocations: 0 / 477.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.168, allocations: 8 kB / 477.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1681, allocations: 12.05 kB / 477.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1681, allocations: 4.094 kB / 477.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.1682, allocations: 109.1 kB / 477.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1682, allocations: 96 / 477.7 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1684, allocations: 23.84 kB / 477.8 MB, free: 7.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001485/0.1686, allocations: 103.2 kB / 477.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.1688, allocations: 87.83 kB / 477.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1688, allocations: 0 / 477.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1689, allocations: 39.92 kB / 478 MB, free: 7.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1692, allocations: 11.95 kB / 478 MB, free: 7.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.1698, allocations: 309.5 kB / 478.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1703, allocations: 0.7004 MB / 479 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.1703, allocations: 19.42 kB / 479 MB, free: 6.453 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1703, allocations: 4 kB / 479 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Templates: time 0.00354/0.1739, allocations: 1.327 MB / 480.4 MB, free: 5.121 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.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_4.0.0_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o] Error 1