Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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) 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(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 89.7 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.001235/0.001235, allocations: 203.8 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002405/0.0002405, allocations: 8 kB / 307.3 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1345, allocations: 51.49 MB / 358.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003128/0.1377, allocations: 1.979 MB / 360.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1389, allocations: 0.5964 MB / 361.4 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.139, allocations: 4 kB / 361.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1391, allocations: 23.78 kB / 361.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1393, allocations: 71.45 kB / 361.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1395, allocations: 47.88 kB / 361.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.1398, allocations: 250.8 kB / 361.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.14, allocations: 81.27 kB / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1402, allocations: 95.59 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.1404, allocations: 99.55 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1404, allocations: 8 kB / 362 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.1405, allocations: 20 kB / 362 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.1405, allocations: 31.84 kB / 362.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.1406, allocations: 69.58 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1408, allocations: 191.7 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1408, allocations: 0 / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1408, allocations: 0 / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1408, allocations: 3.938 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007342/0.1416, allocations: 0.4906 MB / 362.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1416, allocations: 8.031 kB / 362.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.1418, allocations: 39.7 kB / 362.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1421, allocations: 239.2 kB / 363.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1421, allocations: 12.44 kB / 363.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.1422, allocations: 31.86 kB / 363.2 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1426, allocations: 199.3 kB / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1426, allocations: 0 / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1426, allocations: 12 kB / 363.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1426, allocations: 4 kB / 363.4 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.1429, allocations: 145.6 kB / 363.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009502/0.1439, allocations: 0.6269 MB / 364.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1442, allocations: 184.8 kB / 364.3 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.1444, allocations: 104.8 kB / 364.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1444, allocations: 0 / 364.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1445, allocations: 42.59 kB / 364.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.052e-06/0.1445, allocations: 0 / 364.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001934/0.1464, allocations: 1.077 MB / 365.5 MB, free: 6.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1465, allocations: 55.41 kB / 365.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1466, allocations: 183.9 kB / 365.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1467, allocations: 29.7 kB / 365.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1468, allocations: 140.7 kB / 365.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.135e-05/0.1469, allocations: 118.3 kB / 366 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.1469, allocations: 4 kB / 366.1 MB, free: 6.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1471, allocations: 338.8 kB / 366.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.1472, allocations: 75.7 kB / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1475, allocations: 102.8 kB / 366.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1477, allocations: 81.41 kB / 366.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1477, allocations: 4 kB / 366.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006269/0.1483, allocations: 299.9 kB / 366.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1483, allocations: 4 kB / 366.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1483, allocations: 3.953 kB / 366.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.1485, allocations: 44.84 kB / 367 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.1488, allocations: 59.91 kB / 367 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.1504, allocations: 1.573 MB / 368.6 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.1506, allocations: 8 kB / 368.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1506, allocations: 12 kB / 368.6 MB, free: 3.629 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.1508, allocations: 142.8 kB / 368.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.1508, allocations: 23.72 kB / 368.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.1509, allocations: 30.64 kB / 368.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1509, allocations: 7.938 kB / 368.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1509, allocations: 64 / 368.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1509, allocations: 4 kB / 368.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.1521, allocations: 0.7824 MB / 369.6 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1521, allocations: 3.953 kB / 369.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1524, allocations: 55.91 kB / 369.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.1525, allocations: 40.83 kB / 369.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1525, allocations: 4.188 kB / 369.7 MB, free: 2.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.1538, allocations: 1.382 MB / 371.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1538, allocations: 4.031 kB / 371.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.1545, allocations: 490.4 kB / 371.6 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.1546, allocations: 104.9 kB / 371.7 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.1546, allocations: 4 kB / 371.7 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1548, allocations: 12 kB / 371.7 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.1548, allocations: 19.97 kB / 371.7 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1549, allocations: 8 kB / 371.7 MB, free: 268 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.155, allocations: 139.4 kB / 371.9 MB, free: 128 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.155, allocations: 0 / 371.9 MB, free: 128 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.1554, allocations: 68 kB / 371.9 MB, free: 60 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1811/0.3365, allocations: 110.5 kB / 372 MB, free: 19.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.3374, allocations: 333.7 kB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3374, allocations: 1.562 kB / 372.4 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.3377, allocations: 245.8 kB / 372.6 MB, free: 19.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.3383, allocations: 37.47 kB / 372.6 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3395, allocations: 0.9047 MB / 373.6 MB, free: 18.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3398, allocations: 0.7638 MB / 374.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3398, allocations: 21.12 kB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3398, allocations: 0 / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of Templates: time 0.009853/0.3497, allocations: 3.797 MB / 378.1 MB, free: 17.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.First.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 OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstCalcHelperMain.o] Error 1