Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") translateModel(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 118.3 kB / 18.46 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 202.7 kB / 19.41 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2481, allocations: 50.54 MB / 409.9 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.004171/0.2523, allocations: 2.365 MB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2538, allocations: 0.8299 MB / 413.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2539, allocations: 8 kB / 413.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.2543, allocations: 51.58 kB / 413.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.2545, allocations: 63.48 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.255, allocations: 175.6 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2554, allocations: 383.6 kB / 413.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.2556, allocations: 103.8 kB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.2559, allocations: 167.4 kB / 414 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2562, allocations: 171.3 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.2562, allocations: 43.94 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.2563, allocations: 32 kB / 414.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2564, allocations: 99.72 kB / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.2566, allocations: 151.2 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.257, allocations: 326.6 kB / 414.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.257, allocations: 0 / 414.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.257, allocations: 4 kB / 414.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.257, allocations: 3.938 kB / 414.9 MB, free: 12.75 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001338/0.2584, allocations: 0.6275 MB / 415.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2584, allocations: 8.031 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.2585, allocations: 40.7 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2589, allocations: 280.4 kB / 415.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.2591, allocations: 138.3 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.194e-05/0.2592, allocations: 32.38 kB / 416 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2603, allocations: 0.5661 MB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2603, allocations: 0 / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.2604, allocations: 16 kB / 416.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2604, allocations: 8 kB / 416.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2618, allocations: 0.5074 MB / 417.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2633, allocations: 1.01 MB / 418.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2649, allocations: 0.5102 MB / 418.6 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.2655, allocations: 263.4 kB / 418.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.2656, allocations: 12.14 kB / 418.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2656, allocations: 42.5 kB / 418.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.863e-06/0.2656, allocations: 0 / 418.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03837/0.304, allocations: 5.728 MB / 424.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3041, allocations: 137 kB / 424.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.3043, allocations: 205.1 kB / 425 MB, free: 2.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.3044, allocations: 33.7 kB / 425 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.3045, allocations: 145.8 kB / 425.1 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.3047, allocations: 194.3 kB / 425.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.305, allocations: 110.3 kB / 425.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3052, allocations: 342.8 kB / 425.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.3068, allocations: 0.6142 MB / 426.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.3085, allocations: 0.7969 MB / 427.2 MB, free: 12 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.3115, allocations: 1.24 MB / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3115, allocations: 0 / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003452/0.315, allocations: 1.397 MB / 429.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.315, allocations: 11.41 kB / 429.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.315, allocations: 8 kB / 429.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.3151, allocations: 12 kB / 429.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.3164, allocations: 211.6 kB / 430.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.3165, allocations: 15.92 kB / 430.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.3174, allocations: 99.78 kB / 430.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.3175, allocations: 24 kB / 430.2 MB, free: 12.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 2 (kinematicPTP.noWphase,kinematicPTP.moving[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.3178, allocations: 181.6 kB / 430.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.318, allocations: 39.7 kB / 430.4 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.3181, allocations: 67.3 kB / 430.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3182, allocations: 7.922 kB / 430.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3182, allocations: 0 / 430.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.3185, allocations: 204.7 kB / 430.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.3186, allocations: 15.98 kB / 430.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.3195, allocations: 88.27 kB / 430.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.3199, allocations: 80.56 kB / 430.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004467/0.3243, allocations: 1.688 MB / 432.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005784/0.3301, allocations: 2.475 MB / 435 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001689/0.3318, allocations: 0.6944 MB / 435.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.332, allocations: 140.1 kB / 435.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.332, allocations: 0 / 435.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002678/0.3347, allocations: 0.9255 MB / 436.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.001733/0.3365, allocations: 1.112 MB / 437.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of Templates: time 0.01987/0.3563, allocations: 13.06 MB / 451 MB, free: 8.059 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_functions.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_records.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_01exo.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_02nls.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_03lsy.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_04set.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_05evt.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_05evt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_06inz.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_06inz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_07dly.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_07dly.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_08bnd.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_08bnd.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_09alg.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_09alg.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_10asr.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_10asr.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_11mix.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_11mix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_12jac.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_12jac.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_13opt.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_13opt.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_14lnz.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_14lnz.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_15syn.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_15syn.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Clocked_Examples_CascadeControlledDrive_SubClocked -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:100:94: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[32] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:100:120: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[32] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c:113:60: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[34] /* PI.x variable */) = _omcQ_24CLKPRE._PI._x + ((data->localData[0]->realVars[33] /* PI.u variable */)) * (DIVISION((data->localData[0]->realVars[32] /* PI.Ts variable */),(data->simulationInfo->realParameter[0] /* PI.T PARAM */),"PI.T")); ^ 3 errors generated. make: *** [: Modelica_trunk_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o] Error 1