Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") translateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Inertia2.phi|Inertia2.w|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|gear.mode",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001804/0.001804, allocations: 196.1 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.449/1.449, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000984/0.0009843, allocations: 92.31 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.861e-05, allocations: 4 kB / 350.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 51.48 MB / 402 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3514/0.471, allocations: 85.48 MB / 487.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.4713, allocations: 76.2 kB / 487.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05705/0.5283, allocations: 20.62 MB / 0.4963 GB, free: 1.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5284, allocations: 3.938 kB / 0.4963 GB, free: 1.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.966e-05/0.5284, allocations: 11.94 kB / 0.4963 GB, free: 1.094 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001893/0.5303, allocations: 0.7277 MB / 0.497 GB, free: 336 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.5304, allocations: 8.031 kB / 0.497 GB, free: 328 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006353/0.531, allocations: 75.41 kB / 0.4971 GB, free: 252 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.5319, allocations: 354.2 kB / 0.4974 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.5321, allocations: 100.4 kB / 0.4975 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.5323, allocations: 43.61 kB / 0.4976 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5333, allocations: 0.5254 MB / 0.4981 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.5333, allocations: 3.906 kB / 0.4981 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.5334, allocations: 16 kB / 0.4981 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.5334, allocations: 12 kB / 0.4981 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5344, allocations: 0.5622 MB / 0.4987 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/0.537, allocations: 1.283 MB / 0.4999 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009668/0.5379, allocations: 0.4936 MB / 0.5004 GB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.5384, allocations: 274.5 kB / 0.5006 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.5385, allocations: 12.55 kB / 0.5007 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5385, allocations: 43.95 kB / 0.5007 GB, free: 12.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/0.5385, allocations: 0 / 0.5007 GB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.003719/0.5422, allocations: 1.933 MB / 0.5026 GB, free: 10.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.5423, allocations: 85.67 kB / 0.5027 GB, free: 10.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.5427, allocations: 307.3 kB / 0.503 GB, free: 9.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.5428, allocations: 49.7 kB / 0.503 GB, free: 9.906 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.5429, allocations: 165.5 kB / 0.5032 GB, free: 9.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.5431, allocations: 236.7 kB / 0.5034 GB, free: 9.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.5431, allocations: 12 kB / 0.5034 GB, free: 9.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5433, allocations: 347.4 kB / 0.5037 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.5437, allocations: 237.5 kB / 0.504 GB, free: 8.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.5442, allocations: 304 kB / 0.5043 GB, free: 8.605 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.5446, allocations: 226 kB / 0.5045 GB, free: 8.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5446, allocations: 0 / 0.5045 GB, free: 8.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001347/0.5459, allocations: 0.77 MB / 0.5052 GB, free: 7.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.546, allocations: 11.94 kB / 0.5052 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.546, allocations: 0 / 0.5052 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009624/0.5469, allocations: 390.8 kB / 0.5056 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.5473, allocations: 91.88 kB / 0.5057 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.5486, allocations: 0.9971 MB / 0.5067 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005073/0.5491, allocations: 83.98 kB / 0.5067 GB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/0.5492, allocations: 27.98 kB / 0.5068 GB, free: 5.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 33} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.5493, allocations: 144.8 kB / 0.5069 GB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/0.5494, allocations: 43.44 kB / 0.507 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.5496, allocations: 67.86 kB / 0.507 GB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.5496, allocations: 11.94 kB / 0.507 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5496, allocations: 3.953 kB / 0.507 GB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5497, allocations: 3.984 kB / 0.507 GB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/0.5525, allocations: 1.654 MB / 0.5087 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5525, allocations: 3.938 kB / 0.5087 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.5529, allocations: 79.88 kB / 0.5087 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008933/0.5538, allocations: 359.6 kB / 0.5091 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.5539, allocations: 23.97 kB / 0.5091 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.555, allocations: 0.9549 MB / 0.51 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.555, allocations: 0 / 0.51 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.5568, allocations: 1.14 MB / 0.5111 GB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.5571, allocations: 204.5 kB / 0.5113 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.5572, allocations: 16 kB / 0.5114 GB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.5577, allocations: 72 kB / 0.5114 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.558, allocations: 108.3 kB / 0.5115 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.558, allocations: 27.97 kB / 0.5116 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002764/0.5583, allocations: 243.1 kB / 0.5118 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5583, allocations: 1.312 kB / 0.5118 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005665/0.5589, allocations: 155.9 kB / 0.5119 GB, free: 0.5625 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: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009847/0.5599, allocations: 359.9 kB / 0.5123 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.5612, allocations: 0.618 MB / 0.5129 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5612, allocations: 0 / 0.5129 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.5619, allocations: 347 kB / 0.5132 GB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.5623, allocations: 48.16 kB / 0.5133 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5648, allocations: 1.004 MB / 0.5142 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.5652, allocations: 0.8371 MB / 0.5151 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.5655, allocations: 79.44 kB / 0.5151 GB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5657, allocations: 51.39 kB / 0.5152 GB, free: 13.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.5657, allocations: 0 / 0.5152 GB, free: 13.32 MB / 394.7 MB Notification: Performance of Templates: time 0.01483/0.5805, allocations: 9.375 MB / 0.5243 GB, free: 4.012 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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_LossyGearDemo2 -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.LossyGearDemo2.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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_LossyGearDemo2 -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.LossyGearDemo2_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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.LossyGearDemo2_17inl.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_17inl.c clang -I. -o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2 Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_functions.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_records.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_01exo.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_02nls.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_03lsy.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_04set.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_05evt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_06inz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_07dly.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_08bnd.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_09alg.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_10asr.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_11mix.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_12jac.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_13opt.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_14lnz.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_15syn.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_16dae.o Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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_LossyGearDemo2 -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_LossyGearDemo2 -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.LossyGearDemo2_functions.o: in function `omc_Modelica_Blocks_Types_ExternalCombiTable1D_constructor': Modelica_trunk_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_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.LossyGearDemo2.makefile:32: omc_main_target] Error 1