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.0009894/0.0009894, allocations: 202.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008442/0.000844, allocations: 107.3 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002375, allocations: 8 kB / 357.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1867, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09062/0.2774, allocations: 85.55 MB / 495 MB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.2776, allocations: 71.97 kB / 495 MB, free: 4.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05384/0.3315, allocations: 20.65 MB / 0.5036 GB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3315, allocations: 0 / 0.5036 GB, free: 280 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.336e-05/0.3315, allocations: 12 kB / 0.5036 GB, free: 268 kB / 378.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.1457/0.4773, allocations: 0.7623 MB / 0.5043 GB, free: 94.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.4773, allocations: 10.16 kB / 0.5044 GB, free: 94.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/0.4778, allocations: 81.06 kB / 0.5044 GB, free: 94.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.4784, allocations: 358.3 kB / 0.5048 GB, free: 94.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.4785, allocations: 102.9 kB / 0.5049 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.4786, allocations: 40.59 kB / 0.5049 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.4798, allocations: 0.5573 MB / 0.5055 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4798, allocations: 9.891 kB / 0.5055 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.4799, allocations: 13.62 kB / 0.5055 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4799, allocations: 10 kB / 0.5055 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.4812, allocations: 0.62 MB / 0.5061 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.4832, allocations: 1.283 MB / 0.5073 GB, free: 93.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.4843, allocations: 0.5362 MB / 0.5079 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.489e-05/0.4843, allocations: 11.89 kB / 0.5079 GB, free: 93.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.4844, allocations: 42.52 kB / 0.5079 GB, free: 93.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.083e-06/0.4844, allocations: 0 / 0.5079 GB, free: 93.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.006294/0.4907, allocations: 2.823 MB / 0.5107 GB, free: 92.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4907, allocations: 90.95 kB / 0.5108 GB, free: 92.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.491, allocations: 308.5 kB / 0.5111 GB, free: 92.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.4911, allocations: 45.42 kB / 0.5111 GB, free: 92.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.4912, allocations: 165 kB / 0.5113 GB, free: 92.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4913, allocations: 230.1 kB / 0.5115 GB, free: 92.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.4913, allocations: 15.75 kB / 0.5115 GB, free: 92.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.4914, allocations: 351 kB / 0.5118 GB, free: 91.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.4919, allocations: 267.9 kB / 0.5121 GB, free: 91.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.4924, allocations: 340.9 kB / 0.5124 GB, free: 91.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.4929, allocations: 247.1 kB / 0.5126 GB, free: 91.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4929, allocations: 3.953 kB / 0.5127 GB, free: 91.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001423/0.4944, allocations: 0.8324 MB / 0.5135 GB, free: 91.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4944, allocations: 3.719 kB / 0.5135 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4944, allocations: 3.938 kB / 0.5135 GB, free: 91.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008513/0.4953, allocations: 383 kB / 0.5138 GB, free: 91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.4956, allocations: 98.23 kB / 0.5139 GB, free: 90.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009197/0.4966, allocations: 1.007 MB / 0.5149 GB, free: 90.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.497, allocations: 81.64 kB / 0.515 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.4971, allocations: 31.94 kB / 0.515 GB, free: 90.23 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 () * Number of clocked 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.0002023/0.4973, allocations: 174.2 kB / 0.5152 GB, free: 90.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.4974, allocations: 53.86 kB / 0.5152 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4976, allocations: 67.08 kB / 0.5153 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4976, allocations: 7.719 kB / 0.5153 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4976, allocations: 3.953 kB / 0.5153 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4976, allocations: 3.703 kB / 0.5153 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.5002, allocations: 1.722 MB / 0.517 GB, free: 89.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5003, allocations: 0 / 0.517 GB, free: 89.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.5006, allocations: 85.3 kB / 0.5171 GB, free: 89.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000765/0.5014, allocations: 364 kB / 0.5174 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.5015, allocations: 18.97 kB / 0.5174 GB, free: 89.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008276/0.5023, allocations: 0.9694 MB / 0.5184 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5023, allocations: 3.938 kB / 0.5184 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.5042, allocations: 1.23 MB / 0.5196 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.5045, allocations: 205.1 kB / 0.5198 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.5046, allocations: 18.81 kB / 0.5198 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.505, allocations: 80.33 kB / 0.5199 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.5052, allocations: 103.4 kB / 0.52 GB, free: 87.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.5052, allocations: 28.23 kB / 0.52 GB, free: 87.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.5054, allocations: 244.6 kB / 0.5202 GB, free: 87.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5055, allocations: 4 kB / 0.5203 GB, free: 87.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000472/0.5059, allocations: 152.8 kB / 0.5204 GB, free: 87.37 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) * Number of clocked states: 0 () * 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.0007834/0.5067, allocations: 391.3 kB / 0.5208 GB, free: 87.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.508, allocations: 0.6733 MB / 0.5214 GB, free: 86.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.508, allocations: 0 / 0.5214 GB, free: 86.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.5087, allocations: 390.1 kB / 0.5218 GB, free: 86.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.509, allocations: 57.2 kB / 0.5219 GB, free: 86.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.5111, allocations: 1.39 MB / 0.5232 GB, free: 85.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5113, allocations: 0.8293 MB / 0.524 GB, free: 84.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.5116, allocations: 83.12 kB / 0.5241 GB, free: 84.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5118, allocations: 49.66 kB / 0.5241 GB, free: 84.73 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.5118, allocations: 4 kB / 0.5242 GB, free: 84.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01108/0.5229, allocations: 9.376 MB / 0.5333 GB, free: 76.59 MB / 378.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+0x25a5): 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