Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") translateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|clutch.phi_rel|clutch.w_rel|engine.phi|engine.w|load.phi|load.w|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 205.3 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.1166/0.1166, allocations: 96.2 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.771e-06, allocations: 0 / 343.1 MB, free: 8.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1076, allocations: 51.47 MB / 394.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2609/0.3686, allocations: 82.45 MB / 477.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001562/0.3688, allocations: 70.39 kB / 477.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02149/0.3903, allocations: 8.855 MB / 486 MB, free: 3.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3903, allocations: 8 kB / 486 MB, free: 3.391 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001082/0.3914, allocations: 0.7068 MB / 486.7 MB, free: 2.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3915, allocations: 8.031 kB / 486.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.276e-05/0.3916, allocations: 53.22 kB / 486.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.3919, allocations: 304.4 kB / 487 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.392, allocations: 12 kB / 487.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.392, allocations: 27.84 kB / 487.1 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005898/0.3926, allocations: 369.8 kB / 487.4 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3932, allocations: 348 kB / 487.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3932, allocations: 0 / 487.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.3932, allocations: 0 / 487.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3933, allocations: 11.91 kB / 487.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.3955, allocations: 1.272 MB / 489.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.3959, allocations: 252.8 kB / 489.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.3962, allocations: 202.3 kB / 489.5 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.3963, allocations: 8.422 kB / 489.5 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3963, allocations: 42.31 kB / 489.6 MB, free: 384 kB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 1.804e-06/0.3963, allocations: 3.938 kB / 489.6 MB, free: 380 kB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.002838/0.3992, allocations: 1.463 MB / 491 MB, free: 15.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.3992, allocations: 63.52 kB / 491.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3994, allocations: 219.1 kB / 491.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.3995, allocations: 37.44 kB / 491.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.3996, allocations: 158.3 kB / 491.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3998, allocations: 168.6 kB / 491.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3998, allocations: 0 / 491.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3999, allocations: 341.8 kB / 492 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.4002, allocations: 177.7 kB / 492.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4006, allocations: 245.3 kB / 492.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.4009, allocations: 146.8 kB / 492.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4009, allocations: 0 / 492.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001174/0.4021, allocations: 0.6076 MB / 493.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4021, allocations: 12.12 kB / 493.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4021, allocations: 0 / 493.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009107/0.403, allocations: 369.9 kB / 493.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.4033, allocations: 79.67 kB / 493.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/0.4063, allocations: 3.388 MB / 497 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.4069, allocations: 101 kB / 497.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.407, allocations: 30.78 kB / 497.1 MB, free: 9.508 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.0001998/0.4072, allocations: 121.8 kB / 497.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-05/0.4073, allocations: 39.53 kB / 497.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.4084, allocations: 0.6037 MB / 497.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4084, allocations: 11.91 kB / 497.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4085, allocations: 0 / 497.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4085, allocations: 0 / 497.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.4103, allocations: 1.136 MB / 499 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4103, allocations: 0 / 499 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.4106, allocations: 65.84 kB / 499.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008172/0.4114, allocations: 342.7 kB / 499.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/0.4115, allocations: 19.72 kB / 499.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.4143, allocations: 3.359 MB / 0.491 GB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4144, allocations: 4.031 kB / 0.491 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/0.4159, allocations: 0.8946 MB / 0.4919 GB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.4162, allocations: 166.2 kB / 0.4921 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.4163, allocations: 10.38 kB / 0.4921 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/0.4168, allocations: 103.9 kB / 0.4922 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.4171, allocations: 98.91 kB / 0.4923 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.4171, allocations: 25.16 kB / 0.4923 GB, free: 3.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001924/0.4173, allocations: 173.5 kB / 0.4925 GB, free: 3.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005532/0.4179, allocations: 112 kB / 0.4926 GB, free: 3.016 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (clutch.mode,clutch.startBackward,brake.mode,brake.startBackward,brake.startForward,clutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007195/0.4186, allocations: 296.1 kB / 0.4928 GB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4199, allocations: 0.6886 MB / 0.4935 GB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4199, allocations: 0 / 0.4935 GB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007011/0.4206, allocations: 472.6 kB / 0.494 GB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4211, allocations: 51.28 kB / 0.494 GB, free: 1.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.423, allocations: 0.7906 MB / 0.4948 GB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.4235, allocations: 0.8466 MB / 0.4956 GB, free: 272 kB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4235, allocations: 0 / 0.4956 GB, free: 272 kB / 362.7 MB Notification: Performance of Templates: time 0.01481/0.4383, allocations: 8.992 MB / 0.5044 GB, free: 7.348 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_functions.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_records.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_01exo.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_02nls.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_03lsy.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_04set.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_05evt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_06inz.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_07dly.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_08bnd.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_09alg.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_10asr.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_11mix.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_12jac.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_13opt.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_14lnz.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_15syn.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_16dae.c clang -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_17inl.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_17inl.c clang -I. -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_17inl.o -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/Rotational/Examples" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -fPIC -falign-functions -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Mechanics_Rotational_Examples_SimpleGearShift -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Mechanics/Rotational/Examples" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib" -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift_functions.c:(.text+0xfb): undefined reference to `ModelicaStandardTables_CombiTable1D_init3' clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Modelica_trunk_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.makefile:30: omc_main_target] Error 1