Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.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.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008589/0.0008589, allocations: 95.06 kB / 17.64 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009921/0.0009922, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002675, allocations: 8 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003841/0.133, allocations: 2.619 MB / 361.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1351, allocations: 1.11 MB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.1353, allocations: 19.94 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1355, allocations: 59.36 kB / 362.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1357, allocations: 31.72 kB / 362.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.1365, allocations: 263.3 kB / 362.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008157/0.1373, allocations: 0.8232 MB / 363.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008915/0.1382, allocations: 0.6651 MB / 364.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.1386, allocations: 202.9 kB / 364.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.1389, allocations: 254.3 kB / 364.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.1389, allocations: 20 kB / 364.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1391, allocations: 35.98 kB / 364.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1392, allocations: 119.5 kB / 365 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1393, allocations: 153.2 kB / 365.2 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.1404, allocations: 1.029 MB / 366.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1404, allocations: 4 kB / 366.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1404, allocations: 0 / 366.2 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1404, allocations: 0 / 366.2 MB, free: 6.695 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001708/0.1421, allocations: 0.9977 MB / 367.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1422, allocations: 12.03 kB / 367.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.1426, allocations: 126.8 kB / 367.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.1434, allocations: 0.5254 MB / 367.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.1435, allocations: 133.4 kB / 368 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.1437, allocations: 100 kB / 368.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.1466, allocations: 1.702 MB / 369.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.1467, allocations: 11.94 kB / 369.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.1468, allocations: 36 kB / 369.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1468, allocations: 27.94 kB / 369.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1483, allocations: 0.812 MB / 370.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2418/0.3902, allocations: 2.142 MB / 372.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.3925, allocations: 1.031 MB / 373.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009502/0.3934, allocations: 499.1 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-05/0.3935, allocations: 21.45 kB / 374.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008858/0.3944, allocations: 411.6 kB / 374.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 4.428e-06/0.3945, allocations: 1.156 kB / 374.7 MB, free: 17.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002598/0.3971, allocations: 1.164 MB / 375.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.3972, allocations: 254.2 kB / 376.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.3978, allocations: 419 kB / 376.6 MB, free: 17.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-05/0.3979, allocations: 62.44 kB / 376.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3981, allocations: 274.4 kB / 376.9 MB, free: 17.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3983, allocations: 161.6 kB / 377.1 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3983, allocations: 19.97 kB / 377.1 MB, free: 17.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.3985, allocations: 377.5 kB / 377.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.3991, allocations: 326.8 kB / 377.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/0.3999, allocations: 0.6158 MB / 378.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.4005, allocations: 397.6 kB / 378.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.4005, allocations: 2.531 kB / 378.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001709/0.4022, allocations: 0.9989 MB / 379.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.4023, allocations: 35.91 kB / 379.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.4023, allocations: 13.67 kB / 379.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.4024, allocations: 17.16 kB / 379.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.4028, allocations: 113.8 kB / 379.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.4028, allocations: 20.02 kB / 380 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.4032, allocations: 99.33 kB / 380.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.4033, allocations: 43.58 kB / 380.1 MB, free: 15.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.0006538/0.404, allocations: 406.3 kB / 380.5 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.4046, allocations: 389.6 kB / 380.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/0.4054, allocations: 417.7 kB / 381.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.4054, allocations: 11.41 kB / 381.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/0.4054, allocations: 7.719 kB / 381.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.4054, allocations: 10.12 kB / 381.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.408, allocations: 1.682 MB / 383 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.4081, allocations: 1.312 kB / 383 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.4085, allocations: 98.02 kB / 383.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.4085, allocations: 5.531 kB / 383.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.382e-05/0.4086, allocations: 27.09 kB / 383.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.4086, allocations: 10.62 kB / 383.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4086, allocations: 2.125 kB / 383.1 MB, free: 13.92 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4103, allocations: 1.145 MB / 384.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4105, allocations: 144.3 kB / 384.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4106, allocations: 37.41 kB / 384.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.4109, allocations: 49.98 kB / 384.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/0.4111, allocations: 92.52 kB / 384.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/0.4112, allocations: 33.62 kB / 384.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003011/0.4115, allocations: 247.3 kB / 384.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4115, allocations: 0 / 384.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009376/0.4125, allocations: 187.6 kB / 385.1 MB, free: 12.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003108/0.4128, allocations: 218.2 kB / 385.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.4147, allocations: 0.9093 MB / 386.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4148, allocations: 1.812 kB / 386.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.4153, allocations: 295.7 kB / 386.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4165, allocations: 297.3 kB / 386.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.4197, allocations: 1.631 MB / 388.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.4204, allocations: 0.9969 MB / 389.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.4207, allocations: 72.22 kB / 389.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4207, allocations: 0 / 389.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01552/0.4363, allocations: 9.332 MB / 398.8 MB, free: 5.418 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.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.ClockSignals.LogicalSampleCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSampleCalcHelperMain.o] Error 1