Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110.9 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 51.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.003412/0.2876, allocations: 2.356 MB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.289, allocations: 0.7987 MB / 404.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.2891, allocations: 7.938 kB / 404.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.2894, allocations: 55.56 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.2896, allocations: 59.56 kB / 404.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.2902, allocations: 178.2 kB / 404.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.2907, allocations: 383.6 kB / 405.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.2909, allocations: 103.8 kB / 405.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.2912, allocations: 159.5 kB / 405.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.2915, allocations: 179.2 kB / 405.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.2916, allocations: 39.98 kB / 405.7 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.2916, allocations: 32 kB / 405.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2918, allocations: 95.73 kB / 405.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.2919, allocations: 151.2 kB / 406 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.2924, allocations: 335.9 kB / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2924, allocations: 0 / 406.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2924, allocations: 4 kB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2924, allocations: 0 / 406.3 MB, free: 3.953 MB / 318.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.001242/0.2937, allocations: 0.6162 MB / 406.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2937, allocations: 11.89 kB / 406.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.2938, allocations: 36.56 kB / 407 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.2942, allocations: 288.2 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.2944, allocations: 138.3 kB / 407.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.528e-05/0.2945, allocations: 28.38 kB / 407.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.2957, allocations: 0.566 MB / 408 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2957, allocations: 7.984 kB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.2957, allocations: 12 kB / 408 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.2958, allocations: 8 kB / 408 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2971, allocations: 0.5074 MB / 408.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.2986, allocations: 0.9983 MB / 409.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.3002, allocations: 0.5024 MB / 410 MB, free: 16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.3009, allocations: 265 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.301, allocations: 7.984 kB / 410.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.301, allocations: 38.56 kB / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.301, allocations: 0 / 410.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.04091/0.3419, allocations: 5.734 MB / 416 MB, free: 9.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.342, allocations: 140.9 kB / 416.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.3422, allocations: 200.2 kB / 416.4 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.3423, allocations: 33.7 kB / 416.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3424, allocations: 145.5 kB / 416.5 MB, free: 9.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3426, allocations: 193.4 kB / 416.7 MB, free: 9.172 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.3429, allocations: 110.2 kB / 416.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3431, allocations: 338.8 kB / 417.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.3447, allocations: 0.6142 MB / 417.8 MB, free: 8.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.3464, allocations: 0.8051 MB / 418.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/0.3496, allocations: 1.24 MB / 419.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3496, allocations: 0 / 419.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003611/0.3532, allocations: 1.39 MB / 421.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3533, allocations: 15.92 kB / 421.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.3533, allocations: 4 kB / 421.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.3533, allocations: 12.19 kB / 421.3 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.3548, allocations: 207.7 kB / 421.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.3548, allocations: 11.94 kB / 421.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.3558, allocations: 103.7 kB / 421.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.3559, allocations: 28 kB / 421.6 MB, free: 4.133 MB / 334.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.0003251/0.3562, allocations: 189.6 kB / 421.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3564, allocations: 35.56 kB / 421.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.3566, allocations: 59.31 kB / 421.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.3566, allocations: 3.984 kB / 421.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3566, allocations: 3.938 kB / 421.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.3569, allocations: 208.5 kB / 422.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.357, allocations: 16 kB / 422.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.3581, allocations: 87.89 kB / 422.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.3584, allocations: 76.33 kB / 422.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00459/0.363, allocations: 1.684 MB / 423.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005651/0.3686, allocations: 2.478 MB / 426.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001737/0.3704, allocations: 0.6867 MB / 427.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.3706, allocations: 144.1 kB / 427.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of Backend: time 8.62e-07/0.3706, allocations: 0 / 427.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.3734, allocations: 0.9261 MB / 428.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.001618/0.375, allocations: 1.1 MB / 429.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Templates: time 0.02357/0.3986, allocations: 13.04 MB / 442.3 MB, free: 15.31 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_functions.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_records.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_01exo.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_02nls.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_03lsy.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_04set.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_05evt.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_06inz.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_07dly.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_08bnd.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_09alg.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_10asr.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_11mix.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_12jac.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_13opt.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_14lnz.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_15syn.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o Modelica_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.c Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked_16dae.o] Error 1