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.001025/0.001025, allocations: 113.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 55.91 kB / 359.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 50.54 MB / 409.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.CascadeControlledDrive.SubClocked): time 0.004331/0.3498, allocations: 2.365 MB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3516, allocations: 0.8299 MB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.3518, allocations: 7.938 kB / 413.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.3522, allocations: 51.58 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3524, allocations: 55.56 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.353, allocations: 183.6 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.3535, allocations: 383.5 kB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.3538, allocations: 103.8 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.3542, allocations: 163.5 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.3545, allocations: 179.3 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.3545, allocations: 35.94 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.3546, allocations: 36 kB / 414.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.3548, allocations: 91.77 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.3549, allocations: 143.2 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.3554, allocations: 343.9 kB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3554, allocations: 0 / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3554, allocations: 0 / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.3554, allocations: 0 / 414.8 MB, free: 12.69 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.001415/0.3569, allocations: 0.6239 MB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3569, allocations: 8.031 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.357, allocations: 36.56 kB / 415.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.3575, allocations: 288.2 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.3577, allocations: 138.3 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.3578, allocations: 28.38 kB / 416 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.359, allocations: 0.5699 MB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.359, allocations: 3.938 kB / 416.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.3591, allocations: 12 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3591, allocations: 8 kB / 416.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.3604, allocations: 0.5074 MB / 417.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.362, allocations: 1.01 MB / 418.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.3635, allocations: 0.5024 MB / 418.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005656/0.364, allocations: 262.9 kB / 418.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.3641, allocations: 8 kB / 418.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3641, allocations: 38.56 kB / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.3641, allocations: 3.938 kB / 418.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.03949/0.4036, allocations: 5.717 MB / 424.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4038, allocations: 137 kB / 424.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.4042, allocations: 197.1 kB / 424.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.4043, allocations: 41.7 kB / 425 MB, free: 2.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4045, allocations: 149.4 kB / 425.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.4047, allocations: 185.4 kB / 425.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.4051, allocations: 106.2 kB / 425.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4053, allocations: 346.8 kB / 425.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.4069, allocations: 0.6181 MB / 426.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.4085, allocations: 0.7891 MB / 427.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.4115, allocations: 1.243 MB / 428.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.4116, allocations: 0 / 428.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003721/0.4153, allocations: 1.39 MB / 429.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4153, allocations: 8.375 kB / 429.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4154, allocations: 8 kB / 429.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/0.4154, allocations: 8.234 kB / 429.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4168, allocations: 219.6 kB / 430 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.4168, allocations: 11.94 kB / 430 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.4178, allocations: 103.7 kB / 430.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.4179, allocations: 24 kB / 430.1 MB, free: 12.88 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.0003394/0.4183, allocations: 193.8 kB / 430.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.4184, allocations: 35.56 kB / 430.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.4186, allocations: 67.3 kB / 430.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.4186, allocations: 3.984 kB / 430.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4186, allocations: 0 / 430.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.4189, allocations: 204.5 kB / 430.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.419, allocations: 12 kB / 430.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.4201, allocations: 95.88 kB / 430.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/0.4204, allocations: 76.33 kB / 430.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004344/0.4247, allocations: 1.692 MB / 432.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005224/0.43, allocations: 2.474 MB / 435 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001596/0.4316, allocations: 0.6944 MB / 435.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.4317, allocations: 140.1 kB / 435.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of Backend: time 7.61e-07/0.4317, allocations: 0 / 435.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.4344, allocations: 0.9261 MB / 436.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of SimCode: time 0.001687/0.4361, allocations: 1.095 MB / 437.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Templates: time 0.02172/0.4578, allocations: 13.06 MB / 450.9 MB, free: 8.031 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