Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 88.84 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.001463/0.001463, allocations: 198.4 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.826/1.826, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003532, allocations: 11.98 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 51.49 MB / 358.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse): time 0.002447/0.1659, allocations: 1.145 MB / 359.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.1662, allocations: 51.83 kB / 360 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.1663, allocations: 0 / 360 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.1664, allocations: 0 / 360 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.1664, allocations: 7.922 kB / 360 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1668, allocations: 15.98 kB / 360 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1669, allocations: 39.91 kB / 360.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.167, allocations: 12 kB / 360.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.733e-05/0.1671, allocations: 15.92 kB / 360.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.1672, allocations: 19.92 kB / 360.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.1672, allocations: 0 / 360.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.1672, allocations: 4 kB / 360.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.1672, allocations: 3.984 kB / 360.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.1673, allocations: 37.64 kB / 360.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1675, allocations: 27.88 kB / 360.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1675, allocations: 0 / 360.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.706e-06/0.1675, allocations: 0 / 360.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1675, allocations: 0 / 360.2 MB, free: 12.51 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007176/0.1682, allocations: 342.3 kB / 360.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.1683, allocations: 8.031 kB / 360.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.1684, allocations: 11.91 kB / 360.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.1687, allocations: 179 kB / 360.7 MB, free: 11.89 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: pulse.startOutput = previous(pulse.counter) >= pulse.startTick - 1 to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.169, allocations: 33.69 kB / 360.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.169, allocations: 11.95 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.1694, allocations: 127.2 kB / 360.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1695, allocations: 0 / 360.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1695, allocations: 0 / 360.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1695, allocations: 0 / 360.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.1696, allocations: 15.98 kB / 360.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.1699, allocations: 169.6 kB / 361 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.1703, allocations: 147.7 kB / 361.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1704, allocations: 28.8 kB / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.1704, allocations: 0 / 361.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.1705, allocations: 34.52 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1705, allocations: 0 / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003087/0.1708, allocations: 81.52 kB / 361.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.777e-05/0.1709, allocations: 59.41 kB / 361.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1711, allocations: 101.9 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1711, allocations: 33.69 kB / 361.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.1712, allocations: 84.14 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.1712, allocations: 0 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1712, allocations: 0 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002687/0.1715, allocations: 318.8 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.1715, allocations: 11.98 kB / 361.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.1716, allocations: 40.3 kB / 362 MB, free: 10.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.1716, allocations: 11.94 kB / 362 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1716, allocations: 4 kB / 362 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001361/0.1718, allocations: 69.53 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1718, allocations: 7.953 kB / 362.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1718, allocations: 4.156 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.561e-05/0.1719, allocations: 7.984 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.1719, allocations: 7.938 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.172, allocations: 0 / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.172, allocations: 4 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.172, allocations: 4 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (pulse.startOutput,$CLKPRE.pulse.startOutput,pulse.counter,$CLKPRE.pulse.counter,pulse.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (pulse.startOutput,pulse.counter) * 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.0001413/0.1722, allocations: 113.8 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.1723, allocations: 65.97 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1723, allocations: 11.92 kB / 362.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1724, allocations: 4 kB / 362.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.1724, allocations: 4 kB / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1724, allocations: 0 / 362.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1726, allocations: 165.6 kB / 362.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1726, allocations: 3.984 kB / 362.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-06/0.1726, allocations: 4 kB / 362.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1727, allocations: 0 / 362.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1727, allocations: 0 / 362.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.1727, allocations: 3.953 kB / 362.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1727, allocations: 0 / 362.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1729, allocations: 85.12 kB / 362.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.075e-05/0.1729, allocations: 85.02 kB / 362.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.173, allocations: 7.984 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.822e-05/0.173, allocations: 7.938 kB / 362.6 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.1731, allocations: 3.953 kB / 362.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1731, allocations: 4 kB / 362.6 MB, free: 9.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.791e-05/0.1732, allocations: 91.2 kB / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1732, allocations: 0 / 362.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.1734, allocations: 8 kB / 362.7 MB, free: 9.566 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: 5 (assignClock1.u,assignClock1.y,pulse.y,pulse.counter,pulse.startOutput) * Number of discrete states: 0 () * Number of clocked states: 2 (pulse.counter,pulse.startOutput) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.0001915/0.1736, allocations: 103.2 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1737, allocations: 27.92 kB / 362.9 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1737, allocations: 4 kB / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.82e-07/0.1737, allocations: 0 / 362.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.1749, allocations: 0.7219 MB / 363.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.1754, allocations: 154.6 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.1761, allocations: 0.6848 MB / 364.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.1761, allocations: 11.44 kB / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of SimCode: time 9.067e-06/0.1762, allocations: 0 / 364.4 MB, free: 7.773 MB / 302.1 MB Notification: Performance of Templates: time 0.003045/0.1792, allocations: 0.7667 MB / 365.2 MB, free: 7.012 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulse.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.TickBasedPulseCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulseCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedPulseCalcHelperMain.o] Error 1