Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 92.05 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001852/0.001852, allocations: 196 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 45.91 MB / 344.7 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 8 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1496, allocations: 63.46 MB / 482.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00198/0.1517, allocations: 1.281 MB / 483.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.1519, allocations: 51.83 kB / 483.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.152, allocations: 4 kB / 483.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1521, allocations: 3.938 kB / 483.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.1522, allocations: 0 / 483.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1523, allocations: 11.98 kB / 483.5 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.1524, allocations: 31.86 kB / 483.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1525, allocations: 15.97 kB / 483.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.1526, allocations: 7.938 kB / 483.5 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.1526, allocations: 19.92 kB / 483.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1526, allocations: 0 / 483.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.1527, allocations: 4 kB / 483.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.1527, allocations: 3.938 kB / 483.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.1527, allocations: 29.7 kB / 483.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.961e-05/0.1528, allocations: 23.91 kB / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1528, allocations: 0 / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1528, allocations: 0 / 483.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1528, allocations: 0 / 483.6 MB, free: 3.867 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.0004346/0.1533, allocations: 347.5 kB / 483.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1533, allocations: 8.031 kB / 483.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.1534, allocations: 7.906 kB / 483.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1536, allocations: 182.9 kB / 484.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1536, allocations: 7.984 kB / 484.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1536, allocations: 3.984 kB / 484.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1538, allocations: 76.2 kB / 484.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1539, allocations: 0 / 484.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1539, allocations: 0 / 484.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1539, allocations: 0 / 484.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.154, allocations: 27.98 kB / 484.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.1547, allocations: 457.1 kB / 484.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1549, allocations: 46.5 kB / 484.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/0.155, allocations: 16.86 kB / 484.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.155, allocations: 4 kB / 484.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.155, allocations: 38.5 kB / 484.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1551, allocations: 0 / 484.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005591/0.1556, allocations: 109.6 kB / 484.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1557, allocations: 63.3 kB / 485 MB, free: 2.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1558, allocations: 117.9 kB / 485.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1558, allocations: 25.7 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.422e-05/0.1559, allocations: 96.06 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.156, allocations: 11.81 kB / 485.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.156, allocations: 0 / 485.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1562, allocations: 318.8 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.1562, allocations: 16 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.863e-05/0.1563, allocations: 43.41 kB / 485.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.254e-05/0.1564, allocations: 23.98 kB / 485.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1564, allocations: 4 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.1566, allocations: 93.39 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1566, allocations: 8 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1566, allocations: 0 / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1566, allocations: 0 / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.1567, allocations: 16 kB / 485.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1567, allocations: 3.953 kB / 485.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.1568, allocations: 7.984 kB / 485.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1568, allocations: 8.094 kB / 485.7 MB, free: 1.473 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 0.0001013/0.1569, allocations: 113.8 kB / 485.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1569, allocations: 3.906 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.1569, allocations: 11.91 kB / 485.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.157, allocations: 3.938 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.157, allocations: 0 / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.157, allocations: 4.328 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1572, allocations: 165.7 kB / 486 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1572, allocations: 384 / 486 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.1573, allocations: 19.98 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1573, allocations: 0 / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1573, allocations: 3.984 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1573, allocations: 3.938 kB / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1573, allocations: 0 / 486.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.1576, allocations: 183.5 kB / 486.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1577, allocations: 85.05 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1577, allocations: 0 / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.181e-05/0.1578, allocations: 8 kB / 486.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1578, allocations: 3.984 kB / 486.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1578, allocations: 3.938 kB / 486.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.615e-05/0.1579, allocations: 87.28 kB / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1579, allocations: 0 / 486.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1581, allocations: 8 kB / 486.4 MB, free: 0.6797 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 0.0001174/0.1582, allocations: 91.84 kB / 486.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1584, allocations: 47.91 kB / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1584, allocations: 0 / 486.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.1585, allocations: 19.98 kB / 486.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.1588, allocations: 8.141 kB / 486.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.1592, allocations: 196.5 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1595, allocations: 0.6848 MB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.1596, allocations: 7.438 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1596, allocations: 0 / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of Templates: time 0.002373/0.162, allocations: 0.7816 MB / 488.3 MB, free: 14.78 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceStateCalcHelperMain.o] Error 1