Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000972/0.0009718, allocations: 89.34 kB / 16.67 MB, free: 6.59 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.001248/0.001248, allocations: 180.3 kB / 17.57 MB, free: 6.191 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.08 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.2453/0.2453, allocations: 43.58 MB / 315.6 MB, free: 432 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.0005514/0.0005512, allocations: 12.77 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 58.87 MB / 444.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002027/0.1443, allocations: 1.27 MB / 445.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003391/0.1447, allocations: 63.78 kB / 445.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1449, allocations: 0 / 445.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.145, allocations: 0 / 445.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.811e-05/0.1451, allocations: 7.938 kB / 445.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1452, allocations: 15.98 kB / 445.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1454, allocations: 39.8 kB / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1455, allocations: 12.73 kB / 445.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.1456, allocations: 11.94 kB / 445.5 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.1456, allocations: 11.92 kB / 445.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1457, allocations: 4 kB / 445.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.1457, allocations: 0 / 445.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.1457, allocations: 11.92 kB / 445.5 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.1458, allocations: 37.64 kB / 445.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.613e-05/0.1459, allocations: 19.95 kB / 445.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1459, allocations: 0 / 445.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1459, allocations: 0 / 445.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1459, allocations: 0 / 445.6 MB, free: 3.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004971/0.1464, allocations: 351.4 kB / 445.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1465, allocations: 8.031 kB / 445.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.1465, allocations: 8.922 kB / 445.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1468, allocations: 180.2 kB / 446.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1468, allocations: 8.312 kB / 446.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.1469, allocations: 384 / 446.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1471, allocations: 76.81 kB / 446.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1471, allocations: 192 / 446.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1471, allocations: 7.938 kB / 446.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1471, allocations: 0 / 446.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1473, allocations: 35.91 kB / 446.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1478, allocations: 449.2 kB / 446.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.148, allocations: 46.5 kB / 446.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.148, allocations: 16.86 kB / 446.8 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.1481, allocations: 8.078 kB / 446.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1481, allocations: 30.56 kB / 446.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.1481, allocations: 0 / 446.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005032/0.1486, allocations: 117.7 kB / 446.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.1487, allocations: 55.41 kB / 447 MB, free: 2.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.66e-05/0.1487, allocations: 121.7 kB / 447.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1488, allocations: 25.7 kB / 447.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1488, allocations: 92.12 kB / 447.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.1488, allocations: 7.812 kB / 447.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1489, allocations: 17.72 kB / 447.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.149, allocations: 322.8 kB / 447.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.894e-05/0.149, allocations: 15.98 kB / 447.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.1491, allocations: 51.42 kB / 447.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1492, allocations: 63.36 kB / 447.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1492, allocations: 0 / 447.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001476/0.1494, allocations: 93.45 kB / 447.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1494, allocations: 6.031 kB / 447.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1494, allocations: 4 kB / 447.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1494, allocations: 0 / 447.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1495, allocations: 12.09 kB / 447.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1495, allocations: 4 kB / 447.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1496, allocations: 7.984 kB / 447.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1496, allocations: 4 kB / 447.8 MB, free: 1.195 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.006e-05/0.1497, allocations: 121.7 kB / 447.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1497, allocations: 15.78 kB / 447.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.1497, allocations: 7.906 kB / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1497, allocations: 0 / 447.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.1498, allocations: 4 kB / 447.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1498, allocations: 4 kB / 447.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1499, allocations: 169.6 kB / 448.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1499, allocations: 0 / 448.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.15, allocations: 11.98 kB / 448.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.15, allocations: 4 kB / 448.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.15, allocations: 0 / 448.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.15, allocations: 0 / 448.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.15, allocations: 0 / 448.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1502, allocations: 187.5 kB / 448.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.1503, allocations: 81.39 kB / 448.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1503, allocations: 4.031 kB / 448.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.1504, allocations: 0 / 448.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1504, allocations: 11.92 kB / 448.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1504, allocations: 3.938 kB / 448.4 MB, free: 496 kB / 318.1 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.1505, allocations: 91.34 kB / 448.5 MB, free: 404 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1505, allocations: 0 / 448.5 MB, free: 404 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1507, allocations: 12 kB / 448.5 MB, free: 392 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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 9.656e-05/0.1508, allocations: 103.2 kB / 448.6 MB, free: 276 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001421/0.151, allocations: 35.92 kB / 448.6 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.151, allocations: 0 / 448.6 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.58e-05/0.151, allocations: 28.17 kB / 448.7 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.1514, allocations: 12 kB / 448.7 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.1518, allocations: 210.5 kB / 448.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1521, allocations: 0.6809 MB / 449.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.1522, allocations: 15.44 kB / 449.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1522, allocations: 0 / 449.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.002914/0.1551, allocations: 0.7684 MB / 450.3 MB, free: 14.47 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceStateCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o] Error 1