Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 92.83 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.00132, allocations: 198.8 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 227.3 MB / 246.6 MB, free: 11.91 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002608, allocations: 4 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.003487/0.1511, allocations: 1.704 MB / 360.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1529, allocations: 0.5731 MB / 361.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1531, allocations: 4 kB / 361.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1533, allocations: 19.8 kB / 361.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.1535, allocations: 19.84 kB / 361.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.1539, allocations: 59.89 kB / 361.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1541, allocations: 119.5 kB / 361.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.1543, allocations: 49.48 kB / 361.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1545, allocations: 43.8 kB / 361.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.1546, allocations: 47.77 kB / 361.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.1546, allocations: 4 kB / 361.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.1546, allocations: 4 kB / 361.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1547, allocations: 27.91 kB / 361.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.035e-05/0.1548, allocations: 45.58 kB / 361.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1549, allocations: 104 kB / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.155, allocations: 0 / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.155, allocations: 0 / 361.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.155, allocations: 0 / 361.6 MB, free: 11.29 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008016/0.1558, allocations: 434.8 kB / 362 MB, free: 10.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1559, allocations: 12.03 kB / 362 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.1559, allocations: 19.72 kB / 362.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1562, allocations: 214 kB / 362.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1563, allocations: 8 kB / 362.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.1563, allocations: 15.95 kB / 362.3 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006817/0.157, allocations: 262.5 kB / 362.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.157, allocations: 0 / 362.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.1571, allocations: 4 kB / 362.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.1571, allocations: 4 kB / 362.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.1574, allocations: 91.88 kB / 362.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.1582, allocations: 0.6115 MB / 363.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.1587, allocations: 151.9 kB / 363.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1589, allocations: 82.62 kB / 363.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1589, allocations: 4 kB / 363.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.159, allocations: 42.5 kB / 363.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/0.159, allocations: 0 / 363.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005792/0.1596, allocations: 197.4 kB / 363.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.1597, allocations: 114.8 kB / 363.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1599, allocations: 156.6 kB / 364 MB, free: 8.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1599, allocations: 25.7 kB / 364 MB, free: 8.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.16, allocations: 120.5 kB / 364.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1601, allocations: 35.64 kB / 364.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/0.1601, allocations: 4 kB / 364.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1603, allocations: 319.2 kB / 364.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1604, allocations: 44.34 kB / 364.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1607, allocations: 136.7 kB / 364.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1609, allocations: 67.91 kB / 364.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1609, allocations: 7.938 kB / 364.7 MB, free: 7.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004296/0.1613, allocations: 201.3 kB / 364.9 MB, free: 7.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.1614, allocations: 4 kB / 364.9 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1614, allocations: 4 kB / 364.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-05/0.1614, allocations: 8 kB / 364.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1616, allocations: 56.36 kB / 365 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1617, allocations: 8 kB / 365 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1618, allocations: 27.83 kB / 365 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1618, allocations: 8 kB / 365 MB, free: 7.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001992/0.162, allocations: 130.3 kB / 365.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.1622, allocations: 97.42 kB / 365.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.1624, allocations: 16.72 kB / 365.3 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.1624, allocations: 7.953 kB / 365.3 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1625, allocations: 4 kB / 365.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1625, allocations: 3.938 kB / 365.3 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.1629, allocations: 213.5 kB / 365.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1629, allocations: 0 / 365.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.1631, allocations: 35.98 kB / 365.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1631, allocations: 3.984 kB / 365.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1631, allocations: 8 kB / 365.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1631, allocations: 3.938 kB / 365.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1631, allocations: 3.953 kB / 365.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.1639, allocations: 399.4 kB / 365.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.164, allocations: 104.9 kB / 366.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1641, allocations: 0 / 366.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1642, allocations: 15.98 kB / 366.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.1643, allocations: 7.953 kB / 366.1 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1643, allocations: 0 / 366.1 MB, free: 6.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.1644, allocations: 123.4 kB / 366.2 MB, free: 6.246 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.755e-06/0.1645, allocations: 4.062 kB / 366.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1648, allocations: 31.88 kB / 366.2 MB, free: 6.211 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (PI.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0002064/0.165, allocations: 107.2 kB / 366.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.1654, allocations: 128.6 kB / 366.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1654, allocations: 96 / 366.5 MB, free: 5.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1656, allocations: 39.91 kB / 366.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.1662, allocations: 59.89 kB / 366.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1673, allocations: 0.5332 MB / 367.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.1678, allocations: 0.7206 MB / 367.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.1678, allocations: 19.44 kB / 367.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1678, allocations: 3.938 kB / 367.8 MB, free: 4.523 MB / 302.1 MB Notification: Performance of Templates: time 0.003904/0.1717, allocations: 1.6 MB / 369.4 MB, free: 2.938 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteControllerCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteControllerCalcHelperMain.o] Error 1