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.001388/0.001388, allocations: 92.88 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.001327/0.001327, allocations: 176.8 kB / 17.57 MB, free: 5.824 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.958/1.958, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2848/0.2848, allocations: 43.59 MB / 315.6 MB, free: 412 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.000673/0.0006732, allocations: 19.3 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1632, allocations: 58.86 MB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0007038/0.164, allocations: 221 kB / 444.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1673, allocations: 2.049 MB / 446.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.1673, allocations: 0 / 446.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.1674, allocations: 0 / 446.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.893e-05/0.1674, allocations: 0 / 446.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.1686, allocations: 294.6 kB / 446.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.1687, allocations: 4 kB / 446.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.1687, allocations: 0 / 446.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.1688, allocations: 4 kB / 446.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04325/0.212, allocations: 3.207 MB / 449.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.2121, allocations: 0 / 449.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.2122, allocations: 4 kB / 449.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.2122, allocations: 8 kB / 449.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.2123, allocations: 29.7 kB / 449.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.2125, allocations: 4 kB / 449.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2125, allocations: 0 / 449.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.2125, allocations: 0 / 449.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2125, allocations: 0 / 449.9 MB, free: 15.42 MB / 334.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.000477/0.213, allocations: 311.5 kB / 450.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.2131, allocations: 12.03 kB / 450.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.2134, allocations: 84.2 kB / 450.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.2137, allocations: 247.7 kB / 450.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.273e-05/0.2138, allocations: 150.9 kB / 450.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.2139, allocations: 154.7 kB / 450.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2141, allocations: 108.9 kB / 450.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.2141, allocations: 75.28 kB / 451 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.2142, allocations: 158.6 kB / 451.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.2144, allocations: 150.6 kB / 451.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2145, allocations: 150.6 kB / 451.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.215, allocations: 449.9 kB / 451.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2152, allocations: 173.1 kB / 452.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.2154, allocations: 84.08 kB / 452.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.2154, allocations: 75.28 kB / 452.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/0.2155, allocations: 113.8 kB / 452.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.2155, allocations: 3.938 kB / 452.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001073/0.2156, allocations: 25.7 kB / 452.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.2158, allocations: 182.1 kB / 452.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.216, allocations: 101.8 kB / 452.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.216, allocations: 29.64 kB / 452.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2161, allocations: 80.14 kB / 452.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.2161, allocations: 0 / 452.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.2161, allocations: 9.719 kB / 452.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002463/0.2164, allocations: 310.8 kB / 453.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.2164, allocations: 0 / 453.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/0.2164, allocations: 21.84 kB / 453.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.2165, allocations: 75.28 kB / 453.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.558e-05/0.2166, allocations: 75.28 kB / 453.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001004/0.2167, allocations: 33.64 kB / 453.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.2168, allocations: 79.28 kB / 453.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-05/0.2168, allocations: 83.2 kB / 453.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.217, allocations: 154.6 kB / 453.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.2171, allocations: 83.25 kB / 453.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.735e-05/0.2172, allocations: 150.6 kB / 453.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2173, allocations: 75.28 kB / 453.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.2174, allocations: 87.22 kB / 454 MB, free: 11.09 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.0002837/0.2177, allocations: 260.3 kB / 454.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.873e-05/0.2178, allocations: 120.9 kB / 454.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.218, allocations: 108 kB / 454.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.47e-05/0.2182, allocations: 176.3 kB / 454.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.581e-05/0.2182, allocations: 184.3 kB / 454.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.323e-05/0.2183, allocations: 184.2 kB / 455 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.2187, allocations: 405.2 kB / 455.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-05/0.2187, allocations: 104.9 kB / 455.5 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.2188, allocations: 105 kB / 455.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-05/0.2189, allocations: 188.2 kB / 455.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.219, allocations: 180.2 kB / 455.9 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.499e-05/0.2191, allocations: 176.3 kB / 456.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001117/0.2192, allocations: 184.2 kB / 456.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2195, allocations: 307.8 kB / 456.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2196, allocations: 186 kB / 456.8 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2197, allocations: 180.2 kB / 456.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2199, allocations: 108.9 kB / 457.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.22, allocations: 180.3 kB / 457.2 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.768e-05/0.22, allocations: 109 kB / 457.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.2201, allocations: 79.22 kB / 457.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2201, allocations: 0 / 457.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.2205, allocations: 4 kB / 457.4 MB, free: 7.414 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.0002618/0.2208, allocations: 170.6 kB / 457.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.071e-05/0.2209, allocations: 4 kB / 457.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2209, allocations: 3.938 kB / 457.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.2209, allocations: 0.5 kB / 457.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.2217, allocations: 0.5263 MB / 458.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.222, allocations: 175.8 kB / 458.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.2224, allocations: 0.6731 MB / 459 MB, free: 5.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.2225, allocations: 15.38 kB / 459 MB, free: 5.781 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2225, allocations: 0 / 459 MB, free: 5.781 MB / 334.1 MB Notification: Performance of Templates: time 0.002165/0.2246, allocations: 351.8 kB / 459.3 MB, free: 5.438 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