Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 115.1 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.001785/0.001785, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.004394/0.2663, allocations: 2.05 MB / 412 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2678, allocations: 0.6038 MB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.2681, allocations: 0 / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.2683, allocations: 19.8 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.2686, allocations: 27.72 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.269, allocations: 71.8 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.2693, allocations: 131.5 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2695, allocations: 57.84 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2697, allocations: 59.72 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.2698, allocations: 55.69 kB / 413 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.2698, allocations: 12 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.2699, allocations: 12 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.2699, allocations: 31.86 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.27, allocations: 67.61 kB / 413.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.2704, allocations: 155.1 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2704, allocations: 0 / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2704, allocations: 3.938 kB / 413.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.2704, allocations: 0 / 413.3 MB, free: 14.29 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000792/0.2712, allocations: 450.8 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.2713, allocations: 8.031 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.2713, allocations: 20.8 kB / 413.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.2717, allocations: 228 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2718, allocations: 8.375 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.2718, allocations: 12.38 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.2724, allocations: 254.9 kB / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.2724, allocations: 0 / 414.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2724, allocations: 4 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.2724, allocations: 4 kB / 414.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002738/0.2727, allocations: 87.88 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.2735, allocations: 0.5999 MB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.2739, allocations: 155.9 kB / 415.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.274, allocations: 74.58 kB / 415.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.2741, allocations: 11.97 kB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2741, allocations: 34.56 kB / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 4.649e-06/0.2741, allocations: 0 / 415.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005707/0.2747, allocations: 197.3 kB / 415.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.2748, allocations: 106.8 kB / 415.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2749, allocations: 166.2 kB / 415.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.275, allocations: 29.7 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.275, allocations: 112.5 kB / 415.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2751, allocations: 15.91 kB / 415.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.2751, allocations: 45.78 kB / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2753, allocations: 322.8 kB / 416.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2754, allocations: 35.97 kB / 416.2 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.2756, allocations: 139.9 kB / 416.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.2759, allocations: 189.4 kB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2759, allocations: 384 / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003743/0.2763, allocations: 189.2 kB / 416.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2763, allocations: 8 kB / 416.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2763, allocations: 4 kB / 416.7 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.2763, allocations: 11.88 kB / 416.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2765, allocations: 43.91 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.2765, allocations: 8.469 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2766, allocations: 23.94 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.2767, allocations: 8 kB / 416.8 MB, free: 10.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001277/0.2768, allocations: 133.7 kB / 416.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.2769, allocations: 11.95 kB / 416.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.277, allocations: 20.7 kB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.465e-06/0.277, allocations: 7.938 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.277, allocations: 4 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.2771, allocations: 105 kB / 417.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.2771, allocations: 11.94 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.2772, allocations: 4 kB / 417.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2773, allocations: 11.98 kB / 417.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005678/0.2779, allocations: 387.3 kB / 417.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006489/0.2785, allocations: 0.5245 MB / 418 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000158/0.2787, allocations: 59.89 kB / 418.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.2788, allocations: 119.3 kB / 418.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2788, allocations: 0 / 418.2 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.2795, allocations: 158.1 kB / 418.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of SimCode: time 0.001037/0.2806, allocations: 0.8535 MB / 419.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of Templates: time 0.004355/0.285, allocations: 1.421 MB / 420.6 MB, free: 6.469 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_functions.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_records.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_01exo.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_02nls.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_03lsy.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_04set.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_05evt.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_06inz.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_07dly.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_08bnd.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_09alg.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_10asr.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_11mix.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_12jac.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_13opt.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_14lnz.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_15syn.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_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_SimpleControlledDrive_ExactlyClockedWithDiscreteController -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.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:100:93: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[4] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:100:119: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[4] /* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:113:59: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[6] /* PI.x variable */) = _omcQ_24CLKPRE._PI._x + ((data->localData[0]->realVars[5] /* PI.u variable */)) * (DIVISION((data->localData[0]->realVars[4] /* PI.Ts variable */),(data->simulationInfo->realParameter[0] /* PI.T PARAM */),"PI.T")); ^ 3 errors generated. make: *** [: Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o] Error 1