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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009265/0.0009262, allocations: 91.41 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002047/0.0002048, allocations: 4 kB / 357.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1937, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09341/0.2872, allocations: 83.25 MB / 492.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.2875, allocations: 76.5 kB / 492.7 MB, free: 7.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02412/0.3116, allocations: 9.198 MB / 0.4902 GB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3116, allocations: 0 / 0.4902 GB, free: 14.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.3117, allocations: 8 kB / 0.4902 GB, free: 14.08 MB / 378.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.001329/0.313, allocations: 0.7406 MB / 0.4909 GB, free: 13.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.313, allocations: 8.031 kB / 0.4909 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3132, allocations: 47.44 kB / 0.491 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.3136, allocations: 309.4 kB / 0.4913 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3136, allocations: 25 kB / 0.4913 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/0.3137, allocations: 43.94 kB / 0.4913 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.3145, allocations: 430.3 kB / 0.4917 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.3145, allocations: 7.906 kB / 0.4917 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.3146, allocations: 12 kB / 0.4917 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.3146, allocations: 12 kB / 0.4918 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.3155, allocations: 443.7 kB / 0.4922 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.3178, allocations: 1.328 MB / 0.4935 GB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.3186, allocations: 409 kB / 0.4939 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.3187, allocations: 8.438 kB / 0.4939 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3187, allocations: 35.03 kB / 0.4939 GB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.683e-06/0.3187, allocations: 3.938 kB / 0.4939 GB, free: 10.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.005012/0.3237, allocations: 2.347 MB / 0.4962 GB, free: 7.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.3238, allocations: 59.84 kB / 0.4963 GB, free: 7.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.324, allocations: 237.8 kB / 0.4965 GB, free: 7.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.3241, allocations: 45.7 kB / 0.4965 GB, free: 7.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.3242, allocations: 168.8 kB / 0.4967 GB, free: 7.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3243, allocations: 185.4 kB / 0.4969 GB, free: 6.871 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.3244, allocations: 12 kB / 0.4969 GB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3245, allocations: 342.8 kB / 0.4972 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.325, allocations: 217 kB / 0.4974 GB, free: 6.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.3254, allocations: 291.2 kB / 0.4977 GB, free: 6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.3258, allocations: 186.1 kB / 0.4979 GB, free: 5.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3259, allocations: 0 / 0.4979 GB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001469/0.3273, allocations: 0.7157 MB / 0.4986 GB, free: 5.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3274, allocations: 10.5 kB / 0.4986 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3274, allocations: 0 / 0.4986 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000906/0.3283, allocations: 375.1 kB / 0.4989 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002589/0.3286, allocations: 75.89 kB / 0.499 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.3312, allocations: 3.447 MB / 0.5024 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.3317, allocations: 120 kB / 0.5025 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.3318, allocations: 16 kB / 0.5025 GB, free: 0.7617 MB / 378.7 MB 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 () * Number of clocked 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.0002189/0.332, allocations: 169.7 kB / 0.5027 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.3321, allocations: 35.53 kB / 0.5027 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1625/0.4946, allocations: 0.7057 MB / 0.5034 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4947, allocations: 8.562 kB / 0.5034 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4947, allocations: 1.312 kB / 0.5034 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.4947, allocations: 3.047 kB / 0.5034 GB, free: 94.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.4972, allocations: 1.284 MB / 0.5047 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4972, allocations: 6.406 kB / 0.5047 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.4975, allocations: 62.39 kB / 0.5047 GB, free: 94.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/0.4985, allocations: 357.8 kB / 0.5051 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.4985, allocations: 17.45 kB / 0.5051 GB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5005, allocations: 3.424 MB / 0.5084 GB, free: 91.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5005, allocations: 6.25 kB / 0.5084 GB, free: 91.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5022, allocations: 1.021 MB / 0.5094 GB, free: 91.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.5024, allocations: 173.2 kB / 0.5096 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.5025, allocations: 17.69 kB / 0.5096 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.503, allocations: 100.9 kB / 0.5097 GB, free: 91.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.5032, allocations: 105.5 kB / 0.5098 GB, free: 91.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.5033, allocations: 27.62 kB / 0.5098 GB, free: 91.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.5035, allocations: 185.8 kB / 0.51 GB, free: 90.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5035, allocations: 0 / 0.51 GB, free: 90.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.5039, allocations: 129.2 kB / 0.5101 GB, free: 90.96 MB / 378.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) * Number of clocked states: 0 () * 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.0007509/0.5047, allocations: 388.5 kB / 0.5105 GB, free: 90.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.5061, allocations: 0.7861 MB / 0.5113 GB, free: 90.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5061, allocations: 3.344 kB / 0.5113 GB, free: 90.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.507, allocations: 0.5275 MB / 0.5118 GB, free: 90.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.5075, allocations: 59.7 kB / 0.5118 GB, free: 90.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.5093, allocations: 1.22 MB / 0.513 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.5096, allocations: 0.8192 MB / 0.5138 GB, free: 88.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.5097, allocations: 38.39 kB / 0.5139 GB, free: 88.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.5098, allocations: 34.38 kB / 0.5139 GB, free: 88.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5098, allocations: 0 / 0.5139 GB, free: 88.83 MB / 378.7 MB Notification: Performance of Templates: time 0.0112/0.521, allocations: 8.834 MB / 0.5225 GB, free: 86.26 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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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/OpenModelica/OMCompiler/build/bin/../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/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath,"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib" -Wl,--no-as-needed -Wl,--disable-new-dtags -lSimulationRuntimeC -llapack -lblas -lm -lomcgc -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaMatIO.a(ModelicaMatIO.o): in function `Mat_VarDelete': ModelicaMatIO.c:(.text+0x25a5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /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+0x10c): 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:32: omc_main_target] Error 1