Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 104.2 kB / 16.52 MB, free: 6.727 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.001342/0.001343, allocations: 187.7 kB / 17.44 MB, free: 6.059 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.806/1.806, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.29/0.29, allocations: 43.51 MB / 314.1 MB, free: 0.7422 MB / 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.001672/0.001672, allocations: 66.86 kB / 382.7 MB, free: 56.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1696, allocations: 57.79 MB / 440.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002371/0.172, allocations: 0.5481 MB / 441 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.1755, allocations: 2.088 MB / 443.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.704e-05/0.1755, allocations: 0 / 443.1 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.1756, allocations: 4 kB / 443.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.74e-05/0.1756, allocations: 7.938 kB / 443.1 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1767, allocations: 286.8 kB / 443.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.425e-05/0.1767, allocations: 3.984 kB / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.1768, allocations: 4 kB / 443.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.1768, allocations: 4 kB / 443.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03207/0.2089, allocations: 3.199 MB / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.2089, allocations: 0 / 446.6 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.2091, allocations: 7.984 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.2091, allocations: 0 / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.2091, allocations: 0 / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2093, allocations: 4 kB / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2093, allocations: 0 / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2093, allocations: 0 / 446.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2093, allocations: 0 / 446.6 MB, free: 1.426 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006539/0.2099, allocations: 327.5 kB / 446.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.21, allocations: 8.031 kB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2103, allocations: 84.22 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2104, allocations: 243.6 kB / 447.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.2104, allocations: 150.9 kB / 447.4 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.2105, allocations: 154.7 kB / 447.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.862e-05/0.2106, allocations: 113 kB / 447.7 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.2106, allocations: 79.22 kB / 447.7 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.2106, allocations: 150.6 kB / 447.9 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.605e-05/0.2107, allocations: 154.6 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.971e-05/0.2108, allocations: 154.5 kB / 448.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.2112, allocations: 453.9 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.2113, allocations: 165.1 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.047e-05/0.2114, allocations: 88.08 kB / 448.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.2114, allocations: 75.28 kB / 449 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.018e-05/0.2115, allocations: 113.8 kB / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.2115, allocations: 0 / 449.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001049/0.2117, allocations: 29.64 kB / 449.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.2118, allocations: 178.1 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.2119, allocations: 97.86 kB / 449.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.212, allocations: 25.7 kB / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.212, allocations: 84.12 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.212, allocations: 0 / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.2121, allocations: 17.84 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.2122, allocations: 310.8 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-06/0.2122, allocations: 0 / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2122, allocations: 13.72 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.2123, allocations: 75.28 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.465e-05/0.2123, allocations: 83.22 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.161e-05/0.2124, allocations: 37.58 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.2125, allocations: 87.31 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.935e-05/0.2125, allocations: 75.28 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.01e-05/0.2126, allocations: 158.5 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.2126, allocations: 75.28 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.336e-05/0.2127, allocations: 154.6 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.2128, allocations: 79.22 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.2128, allocations: 79.28 kB / 450.7 MB, free: 13.08 MB / 334.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 (0): * Single equations (assignments): 0 * 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.0001438/0.213, allocations: 268.3 kB / 451 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.739e-05/0.2131, allocations: 112.8 kB / 451.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.2131, allocations: 108.1 kB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.996e-05/0.2132, allocations: 176.3 kB / 451.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.508e-05/0.2133, allocations: 188.2 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/0.2134, allocations: 184.2 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.2137, allocations: 413 kB / 452.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.971e-05/0.2137, allocations: 101 kB / 452.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.2138, allocations: 101 kB / 452.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/0.2138, allocations: 180.2 kB / 452.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.2139, allocations: 192.2 kB / 452.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.278e-05/0.214, allocations: 180.2 kB / 452.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.2141, allocations: 176.3 kB / 453 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.2142, allocations: 307.7 kB / 453.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.2143, allocations: 186.1 kB / 453.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.2144, allocations: 184.2 kB / 453.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.106e-05/0.2145, allocations: 101 kB / 453.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.2146, allocations: 184.2 kB / 454 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.2147, allocations: 105 kB / 454.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.205e-05/0.2147, allocations: 79.28 kB / 454.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2147, allocations: 4.094 kB / 454.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.215, allocations: 4 kB / 454.2 MB, free: 9.398 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001462/0.2152, allocations: 170.5 kB / 454.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.2152, allocations: 4 kB / 454.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2152, allocations: 0 / 454.3 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.2152, allocations: 3.938 kB / 454.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.2157, allocations: 0.5263 MB / 454.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.216, allocations: 175.7 kB / 455 MB, free: 8.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.2163, allocations: 0.6731 MB / 455.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.171e-05/0.2164, allocations: 7.438 kB / 455.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2164, allocations: 4 kB / 455.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of Templates: time 0.001929/0.2183, allocations: 352.2 kB / 456.1 MB, free: 7.426 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculatorCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculatorCalcHelperMain.o] Error 1