Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008776/0.0008777, allocations: 89.48 kB / 292.1 MB, free: 5.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.283e-05, allocations: 0 / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 51.49 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.4325, allocations: 83.78 MB / 485.8 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4328, allocations: 69.91 kB / 485.9 MB, free: 5.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04746/0.4802, allocations: 18.09 MB / 0.4921 GB, free: 5.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4803, allocations: 0 / 0.4921 GB, free: 5.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.4803, allocations: 8 kB / 0.4922 GB, free: 5.301 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001338/0.4817, allocations: 0.603 MB / 0.4927 GB, free: 4.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4817, allocations: 12.03 kB / 0.4928 GB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.4822, allocations: 72.42 kB / 0.4928 GB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.4827, allocations: 303.3 kB / 0.4931 GB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.4829, allocations: 99.78 kB / 0.4932 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.483, allocations: 31.94 kB / 0.4932 GB, free: 4.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006852/0.4837, allocations: 398.8 kB / 0.4936 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4837, allocations: 0 / 0.4936 GB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.4838, allocations: 16 kB / 0.4936 GB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4838, allocations: 8 kB / 0.4936 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.4845, allocations: 430.9 kB / 0.494 GB, free: 3.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.4861, allocations: 0.9477 MB / 0.495 GB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.4868, allocations: 372.7 kB / 0.4953 GB, free: 1.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.4872, allocations: 206.2 kB / 0.4955 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.4872, allocations: 12.42 kB / 0.4955 GB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4873, allocations: 35 kB / 0.4956 GB, free: 1.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.743e-06/0.4873, allocations: 0 / 0.4956 GB, free: 1.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.003127/0.4904, allocations: 1.574 MB / 0.4971 GB, free: 15.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.4905, allocations: 81.67 kB / 0.4972 GB, free: 15.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4908, allocations: 235.2 kB / 0.4974 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.4909, allocations: 39.2 kB / 0.4974 GB, free: 15.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.491, allocations: 133.1 kB / 0.4976 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4912, allocations: 189.2 kB / 0.4978 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.4912, allocations: 12 kB / 0.4978 GB, free: 15.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4913, allocations: 338.8 kB / 0.4981 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.4916, allocations: 173.1 kB / 0.4983 GB, free: 14.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.492, allocations: 220.7 kB / 0.4985 GB, free: 14.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.4923, allocations: 163.8 kB / 0.4986 GB, free: 14.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4923, allocations: 0 / 0.4986 GB, free: 14.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009623/0.4933, allocations: 0.5667 MB / 0.4992 GB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4933, allocations: 9.359 kB / 0.4992 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4933, allocations: 4 kB / 0.4992 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007998/0.4941, allocations: 263.7 kB / 0.4994 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003369/0.4945, allocations: 67.94 kB / 0.4995 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.4982, allocations: 2.692 MB / 0.5021 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.4986, allocations: 35.97 kB / 0.5022 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.4987, allocations: 22.33 kB / 0.5022 GB, free: 10.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.4988, allocations: 132.9 kB / 0.5023 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/0.499, allocations: 35.62 kB / 0.5024 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4991, allocations: 47.08 kB / 0.5024 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4991, allocations: 8 kB / 0.5024 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4991, allocations: 0 / 0.5024 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4991, allocations: 0 / 0.5024 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.5011, allocations: 1.253 MB / 0.5036 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5012, allocations: 4 kB / 0.5036 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.5015, allocations: 79.88 kB / 0.5037 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006836/0.5022, allocations: 244.9 kB / 0.5039 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.5023, allocations: 23.94 kB / 0.504 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.5057, allocations: 2.595 MB / 0.5065 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5057, allocations: 0 / 0.5065 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.5071, allocations: 0.8925 MB / 0.5074 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.5073, allocations: 168.7 kB / 0.5075 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.5074, allocations: 16.12 kB / 0.5075 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.5078, allocations: 35.97 kB / 0.5076 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.508, allocations: 76.47 kB / 0.5077 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.508, allocations: 19.98 kB / 0.5077 GB, free: 4.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.5082, allocations: 197.6 kB / 0.5079 GB, free: 4.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5082, allocations: 4 kB / 0.5079 GB, free: 4.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006808/0.5089, allocations: 163.8 kB / 0.508 GB, free: 4.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.000915/0.5098, allocations: 364 kB / 0.5084 GB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.511, allocations: 0.6453 MB / 0.509 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.511, allocations: 0 / 0.509 GB, free: 3.441 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.5117, allocations: 451.5 kB / 0.5094 GB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.512, allocations: 32.41 kB / 0.5095 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5134, allocations: 0.6358 MB / 0.5101 GB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.5138, allocations: 0.8049 MB / 0.5109 GB, free: 1.461 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.5141, allocations: 72.47 kB / 0.5109 GB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.5142, allocations: 39.41 kB / 0.511 GB, free: 1.367 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5142, allocations: 0 / 0.511 GB, free: 1.367 MB / 378.7 MB Notification: Performance of Templates: time 0.01428/0.5285, allocations: 7.527 MB / 0.5183 GB, free: 9.918 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_17inl.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_17inl.c clang -I. -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1 Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -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_LossyGearDemo1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -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+0x25f5): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo1_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.LossyGearDemo1.makefile:32: omc_main_target] Error 1