Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.RootMeanSquare") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009889, allocations: 92.39 kB / 16.67 MB, free: 6.105 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.001227/0.001227, allocations: 179.6 kB / 17.57 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.58 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005963/0.0005963, allocations: 20.61 kB / 385.2 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1623, allocations: 58.86 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.002222/0.1645, allocations: 1.364 MB / 445.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1657, allocations: 0.5628 MB / 446 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1658, allocations: 4 kB / 446 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.166, allocations: 3.938 kB / 446 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.1661, allocations: 11.88 kB / 446 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1665, allocations: 51.89 kB / 446.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1667, allocations: 99.69 kB / 446.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1669, allocations: 35.91 kB / 446.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.167, allocations: 27.86 kB / 446.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1672, allocations: 47.7 kB / 446.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1673, allocations: 4 kB / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.1673, allocations: 8 kB / 446.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.1673, allocations: 15.92 kB / 446.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.1674, allocations: 65.48 kB / 446.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.1676, allocations: 63.86 kB / 446.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1676, allocations: 0 / 446.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1676, allocations: 0 / 446.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1676, allocations: 0 / 446.4 MB, free: 2.801 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008764/0.1685, allocations: 403.1 kB / 446.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.1686, allocations: 12.02 kB / 446.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.1687, allocations: 12.84 kB / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.169, allocations: 210.2 kB / 447.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.169, allocations: 8.375 kB / 447.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.169, allocations: 8.375 kB / 447.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.1693, allocations: 89.95 kB / 447.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1693, allocations: 0 / 447.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1694, allocations: 11.94 kB / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1694, allocations: 0 / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1695, allocations: 51.34 kB / 447.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.1703, allocations: 372.6 kB / 447.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.1706, allocations: 58.56 kB / 447.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.1707, allocations: 32.97 kB / 447.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1708, allocations: 0 / 447.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.171, allocations: 115.1 kB / 447.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.171, allocations: 0 / 447.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003772/0.1714, allocations: 125.5 kB / 447.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1715, allocations: 63.39 kB / 448 MB, free: 1.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1716, allocations: 141.8 kB / 448.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1716, allocations: 29.7 kB / 448.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.1717, allocations: 104.2 kB / 448.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1717, allocations: 23.66 kB / 448.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.1717, allocations: 21.7 kB / 448.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1719, allocations: 322.8 kB / 448.6 MB, free: 428 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.1719, allocations: 27.98 kB / 448.6 MB, free: 400 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.172, allocations: 83.66 kB / 448.7 MB, free: 288 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.1722, allocations: 127.6 kB / 448.8 MB, free: 132 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1722, allocations: 4 kB / 448.8 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002637/0.1725, allocations: 149.2 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.1725, allocations: 9.875 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.1725, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1726, allocations: 4 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1727, allocations: 27.98 kB / 449 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.1727, allocations: 15.86 kB / 449 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.1728, allocations: 8.594 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1728, allocations: 4 kB / 449.1 MB, free: 15.91 MB / 334.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 (mean1.y,$PRE.mean1.y,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001697/0.173, allocations: 133.7 kB / 449.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.173, allocations: 7.906 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.1731, allocations: 20.64 kB / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1731, allocations: 0 / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.1731, allocations: 3.938 kB / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1731, allocations: 0 / 449.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.1734, allocations: 205.6 kB / 449.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1734, allocations: 4 kB / 449.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.1735, allocations: 15.94 kB / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1736, allocations: 0 / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1736, allocations: 3.984 kB / 449.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1736, allocations: 4 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1736, allocations: 3.938 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1739, allocations: 176.8 kB / 449.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.174, allocations: 85.05 kB / 449.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.174, allocations: 0 / 449.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1741, allocations: 15.98 kB / 449.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1742, allocations: 7.938 kB / 449.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1742, allocations: 7.984 kB / 449.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.026e-05/0.1743, allocations: 99.27 kB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1743, allocations: 4.062 kB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1745, allocations: 20 kB / 449.9 MB, free: 15 MB / 334.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,rootMeanSquare.mean.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.1746, allocations: 99.19 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1749, allocations: 83.83 kB / 450 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1749, allocations: 0 / 450 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.175, allocations: 44.36 kB / 450.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1752, allocations: 16.2 kB / 450.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.1758, allocations: 312.9 kB / 450.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.1763, allocations: 0.7042 MB / 451.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.1764, allocations: 19.42 kB / 451.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1764, allocations: 0 / 451.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of Templates: time 0.003497/0.1799, allocations: 1.313 MB / 452.4 MB, free: 12.35 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquare.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.RootMeanSquareCalcHelperMain.o] Error 1