Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 94.08 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 179.8 kB / 17.2 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002786, allocations: 4 kB / 300.8 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 50.4 MB / 351.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003823/0.1177, allocations: 2.619 MB / 353.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1196, allocations: 1.032 MB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/0.1199, allocations: 15.94 kB / 354.9 MB, free: 16 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1201, allocations: 59.42 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1202, allocations: 39.81 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.121, allocations: 262.8 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1215, allocations: 499.8 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008148/0.1223, allocations: 0.6574 MB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.1226, allocations: 198.9 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.1228, allocations: 242.4 kB / 356.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.1229, allocations: 20 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.123, allocations: 31.98 kB / 356.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1231, allocations: 123.4 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1233, allocations: 153.2 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.1241, allocations: 1.025 MB / 358.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1241, allocations: 4 kB / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1242, allocations: 0 / 358.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1242, allocations: 0 / 358.2 MB, free: 12.7 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.001583/0.1258, allocations: 0.9938 MB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1258, allocations: 8.031 kB / 359.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.126, allocations: 152 kB / 359.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1262, allocations: 102.8 kB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.127, allocations: 0.5254 MB / 359.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1271, allocations: 133.4 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.1273, allocations: 96 kB / 360.2 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002846/0.1301, allocations: 1.714 MB / 361.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.1302, allocations: 0 / 361.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.1302, allocations: 32 kB / 361.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1303, allocations: 24 kB / 361.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.1318, allocations: 0.8102 MB / 362.8 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.135, allocations: 2.144 MB / 364.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.1366, allocations: 1.042 MB / 365.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.099e-05/0.1367, allocations: 28.75 kB / 366 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/0.1374, allocations: 411.2 kB / 366.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.236e-06/0.1374, allocations: 0 / 366.4 MB, free: 4.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.00215/0.1396, allocations: 1.153 MB / 367.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.1397, allocations: 253.5 kB / 367.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1402, allocations: 429 kB / 368.2 MB, free: 2.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/0.1403, allocations: 61.69 kB / 368.2 MB, free: 2.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.1405, allocations: 277.5 kB / 368.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1407, allocations: 154.3 kB / 368.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1407, allocations: 16 kB / 368.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1409, allocations: 374.8 kB / 369 MB, free: 1.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.1415, allocations: 325.8 kB / 369.4 MB, free: 1.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/0.1422, allocations: 0.6121 MB / 370 MB, free: 332 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1877/0.3299, allocations: 386.8 kB / 370.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.33, allocations: 6.594 kB / 370.4 MB, free: 23.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001956/0.3319, allocations: 1.006 MB / 371.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.332, allocations: 41.25 kB / 371.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.332, allocations: 9.453 kB / 371.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.3321, allocations: 16.28 kB / 371.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.3324, allocations: 115.5 kB / 371.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.3325, allocations: 24.88 kB / 371.6 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.3329, allocations: 90.81 kB / 371.7 MB, free: 23.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.3329, allocations: 40.19 kB / 371.7 MB, free: 23.41 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.0005808/0.3335, allocations: 406.5 kB / 372.1 MB, free: 23.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/0.3342, allocations: 388.4 kB / 372.5 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.3349, allocations: 409.7 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.335, allocations: 11.34 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.335, allocations: 4.906 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.335, allocations: 7.688 kB / 372.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.3374, allocations: 1.697 MB / 374.6 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3374, allocations: 1.469 kB / 374.6 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3378, allocations: 100.6 kB / 374.7 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.3378, allocations: 5.375 kB / 374.7 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.3379, allocations: 26.34 kB / 374.7 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3379, allocations: 5.438 kB / 374.7 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3379, allocations: 3.172 kB / 374.7 MB, free: 22.66 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:7903:5-7903: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.001681/0.3396, allocations: 1.217 MB / 376 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3397, allocations: 148.5 kB / 376.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.3398, allocations: 36.16 kB / 376.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.3402, allocations: 49.58 kB / 376.2 MB, free: 21.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3403, allocations: 92.77 kB / 376.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.3404, allocations: 33.94 kB / 376.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.3407, allocations: 247.6 kB / 376.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3407, allocations: 7.766 kB / 376.6 MB, free: 21.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007513/0.3414, allocations: 181.7 kB / 376.7 MB, free: 21.55 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 [/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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1765:3-1765:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001797/0.3432, allocations: 1.904 MB / 378.6 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.3448, allocations: 0.9118 MB / 379.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3448, allocations: 1.062 kB / 379.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.3453, allocations: 290.5 kB / 379.8 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.3462, allocations: 282.5 kB / 380.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.3495, allocations: 1.661 MB / 381.8 MB, free: 18.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/0.3504, allocations: 1.024 MB / 382.8 MB, free: 17.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003613/0.3507, allocations: 137.1 kB / 382.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.3511, allocations: 268.6 kB / 383.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3511, allocations: 0 / 383.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.3792, allocations: 12.71 MB / 395.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/0.3794, allocations: 202.8 kB / 396.1 MB, free: 10.73 MB / 302.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:7: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:799:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 0, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:817:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 1, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:835:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 2, data->localData[0]->timeValue); ^ Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:853:5: warning: implicit declaration of function 'fireClock' is invalid in C99 [-Wimplicit-function-declaration] fireClock(data, threadData, 3, data->localData[0]->timeValue); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.c:2: In file included from ./Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^~~~~~~~~~~ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.so Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_functions.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_records.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_01exo.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_02nls.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_03lsy.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_04set.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_05evt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_06inz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_07dly.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_08bnd.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_09alg.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_10asr.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_11mix.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_12jac.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_13opt.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_14lnz.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_15syn.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_16dae.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_17inl.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_init_fmu.o Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Clocked/Examples/Elementary/ClockSignals" -Wl,-Bstatic -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_176': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xec6): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_175': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xef9): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_174': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf2c): undefined reference to `fireClock' /usr/bin/ld: Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.o: in function `Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_eqFunction_173': Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.c:(.text+0xf5f): undefined reference to `fireClock' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:60: nozip] Error 1