Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009747, allocations: 87.55 kB / 17.63 MB, free: 6.16 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.001163/0.001163, allocations: 186.9 kB / 18.52 MB, free: 5.32 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.465/1.465, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 44.22 MB / 337.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001852/0.1448, allocations: 1.246 MB / 473.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.145, allocations: 59.83 kB / 473.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.145, allocations: 0 / 473.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.699e-05/0.1451, allocations: 7.922 kB / 473.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.1452, allocations: 7.938 kB / 473.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.1453, allocations: 15.98 kB / 473.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.1454, allocations: 31.86 kB / 473.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.1455, allocations: 11.98 kB / 473.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.1455, allocations: 11.98 kB / 473.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.504e-05/0.1456, allocations: 3.938 kB / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1456, allocations: 4 kB / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.1456, allocations: 0 / 473.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1457, allocations: 11.92 kB / 473.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.1457, allocations: 33.7 kB / 473.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.662e-05/0.1458, allocations: 24.23 kB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1458, allocations: 4 kB / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1458, allocations: 0 / 473.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1458, allocations: 3.938 kB / 473.7 MB, free: 12.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004263/0.1462, allocations: 343.2 kB / 474 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1463, allocations: 12.03 kB / 474 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.1463, allocations: 3.906 kB / 474 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1466, allocations: 179 kB / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1466, allocations: 4 kB / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1466, allocations: 4 kB / 474.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1468, allocations: 76.2 kB / 474.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1469, allocations: 0 / 474.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1469, allocations: 3.938 kB / 474.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1469, allocations: 0 / 474.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.147, allocations: 27.98 kB / 474.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1475, allocations: 453.1 kB / 474.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1477, allocations: 46.56 kB / 474.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.1477, allocations: 20.94 kB / 474.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1477, allocations: 0 / 474.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.1478, allocations: 34.56 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1478, allocations: 4 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000452/0.1482, allocations: 105.5 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.1483, allocations: 59.39 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.1484, allocations: 121.9 kB / 475.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1484, allocations: 25.7 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.1485, allocations: 92.08 kB / 475.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.1485, allocations: 15.8 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.1485, allocations: 3.938 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1486, allocations: 318.8 kB / 475.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.1487, allocations: 19.98 kB / 475.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.1487, allocations: 43.42 kB / 475.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.1488, allocations: 16 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1488, allocations: 0 / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001462/0.1489, allocations: 89.52 kB / 475.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.149, allocations: 10.59 kB / 475.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.149, allocations: 4 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.149, allocations: 4 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.1491, allocations: 19.92 kB / 475.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1491, allocations: 3.938 kB / 475.8 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.1491, allocations: 4 kB / 475.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1491, allocations: 4 kB / 475.8 MB, free: 9.852 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/0.1492, allocations: 114.7 kB / 475.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1493, allocations: 11.91 kB / 475.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.1493, allocations: 15.88 kB / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1493, allocations: 0 / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1493, allocations: 0 / 475.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1493, allocations: 4 kB / 475.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1495, allocations: 169.6 kB / 476.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1495, allocations: 0 / 476.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.1496, allocations: 11.94 kB / 476.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1496, allocations: 0 / 476.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1496, allocations: 7.984 kB / 476.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1496, allocations: 4 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1496, allocations: 0 / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1498, allocations: 175.5 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.1499, allocations: 84.97 kB / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1499, allocations: 0 / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.15, allocations: 12.08 kB / 476.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1501, allocations: 4 kB / 476.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1501, allocations: 384 / 476.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.209e-05/0.1501, allocations: 95.2 kB / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1502, allocations: 0 / 476.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1504, allocations: 8 kB / 476.5 MB, free: 9.055 MB / 350.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 (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 8.879e-05/0.1505, allocations: 95.19 kB / 476.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.1506, allocations: 47.97 kB / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1506, allocations: 0 / 476.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.1507, allocations: 15.94 kB / 476.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.151, allocations: 14.22 kB / 476.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.1515, allocations: 206.6 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.1519, allocations: 0.6848 MB / 477.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1519, allocations: 11.44 kB / 477.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1519, allocations: 0 / 477.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Templates: time 0.002117/0.1541, allocations: 0.767 MB / 478.3 MB, free: 7.152 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.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.IntegratorForceStateCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o] Error 1