Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008123/0.0008123, allocations: 89.08 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009009/0.0009009, allocations: 197.5 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.718/1.718, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 8 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1621, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001587/0.1637, allocations: 0.5672 MB / 359.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004257/0.1642, allocations: 123.6 kB / 359.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.1643, allocations: 0 / 359.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.1644, allocations: 3.938 kB / 359.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1645, allocations: 7.984 kB / 359.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1648, allocations: 35.91 kB / 359.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.165, allocations: 31.92 kB / 359.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1651, allocations: 19.97 kB / 359.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.1652, allocations: 15.92 kB / 359.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.1652, allocations: 19.86 kB / 359.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1653, allocations: 4 kB / 359.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.1653, allocations: 0 / 359.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.1653, allocations: 11.92 kB / 359.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.1654, allocations: 37.64 kB / 359.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.1655, allocations: 31.94 kB / 359.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1655, allocations: 0 / 359.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1655, allocations: 0 / 359.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1655, allocations: 0 / 359.7 MB, free: 13.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005143/0.1661, allocations: 355.4 kB / 360 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.1661, allocations: 8.031 kB / 360 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.353e-05/0.1662, allocations: 7.906 kB / 360.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1664, allocations: 193.1 kB / 360.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1664, allocations: 4 kB / 360.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.1665, allocations: 11.95 kB / 360.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1669, allocations: 139.1 kB / 360.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1669, allocations: 0 / 360.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1669, allocations: 0 / 360.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1669, allocations: 0 / 360.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.324e-05/0.167, allocations: 20 kB / 360.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.1672, allocations: 177.5 kB / 360.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.1674, allocations: 58.67 kB / 360.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1675, allocations: 48.83 kB / 360.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1676, allocations: 0 / 360.7 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.1676, allocations: 34.56 kB / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1676, allocations: 0 / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002967/0.1679, allocations: 81.67 kB / 360.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.168, allocations: 59.31 kB / 360.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1682, allocations: 137.8 kB / 361 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1683, allocations: 29.7 kB / 361 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.1683, allocations: 84.14 kB / 361.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1684, allocations: 0 / 361.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.1684, allocations: 4 kB / 361.1 MB, free: 11.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1686, allocations: 322.8 kB / 361.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.1686, allocations: 7.938 kB / 361.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.1687, allocations: 62.86 kB / 361.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.667e-05/0.1688, allocations: 16 kB / 361.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1688, allocations: 0 / 361.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001828/0.169, allocations: 97.36 kB / 361.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.169, allocations: 4 kB / 361.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.169, allocations: 4 kB / 361.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.169, allocations: 4 kB / 361.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.428e-05/0.1691, allocations: 7.922 kB / 361.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.1691, allocations: 4 kB / 361.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.689e-05/0.1692, allocations: 7.938 kB / 361.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1692, allocations: 4.25 kB / 361.6 MB, free: 11.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000157/0.1694, allocations: 128.2 kB / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.1695, allocations: 73.48 kB / 361.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.1696, allocations: 16.38 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1696, allocations: 0 / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/0.1696, allocations: 7.984 kB / 361.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.1697, allocations: 4 kB / 361.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1699, allocations: 165.7 kB / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1699, allocations: 0 / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.1699, allocations: 0 / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1699, allocations: 4 kB / 362 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1699, allocations: 7.953 kB / 362 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1699, allocations: 0 / 362 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.17, allocations: 3.984 kB / 362 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1702, allocations: 97.34 kB / 362.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1703, allocations: 97 kB / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1703, allocations: 0 / 362.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.009e-05/0.1704, allocations: 7.953 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-06/0.1704, allocations: 4 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1704, allocations: 4 kB / 362.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1705, allocations: 103.2 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1705, allocations: 0 / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1709, allocations: 8 kB / 362.4 MB, free: 10.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001856/0.1711, allocations: 99.23 kB / 362.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1713, allocations: 48.17 kB / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1713, allocations: 192 / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.1713, allocations: 0 / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/0.1718, allocations: 47.95 kB / 362.6 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.1724, allocations: 197.1 kB / 362.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.1729, allocations: 0.7056 MB / 363.4 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.1729, allocations: 11.44 kB / 363.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1729, allocations: 0 / 363.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of Templates: time 0.003359/0.1763, allocations: 0.7757 MB / 364.2 MB, free: 8.262 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.Elementary.BooleanSignals.AssignClockCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockCalcHelperMain.o] Error 1