Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.SimpleControlledDrive.ExactlyClockedWithDiscreteController,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.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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001391/0.001391, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2579, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.003223/0.2611, allocations: 2.036 MB / 403.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2622, allocations: 0.5687 MB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2623, allocations: 4 kB / 404 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.2624, allocations: 15.8 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.2626, allocations: 35.72 kB / 404 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.2629, allocations: 71.73 kB / 404.1 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2632, allocations: 123.6 kB / 404.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2633, allocations: 61.83 kB / 404.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.368e-05/0.2634, allocations: 59.72 kB / 404.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.934e-05/0.2635, allocations: 59.7 kB / 404.4 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.2636, allocations: 8 kB / 404.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.2636, allocations: 12 kB / 404.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.2637, allocations: 35.91 kB / 404.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.2638, allocations: 63.61 kB / 404.5 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.264, allocations: 151.2 kB / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.264, allocations: 0 / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.264, allocations: 0 / 404.7 MB, free: 5.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.264, allocations: 0 / 404.7 MB, free: 5.57 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006823/0.2647, allocations: 456.1 kB / 405.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2648, allocations: 8.031 kB / 405.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.2648, allocations: 24.75 kB / 405.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.2652, allocations: 216 kB / 405.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2652, allocations: 8.375 kB / 405.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.2652, allocations: 12.38 kB / 405.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.2658, allocations: 267.3 kB / 405.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2658, allocations: 3.906 kB / 405.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2658, allocations: 8 kB / 405.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2658, allocations: 0 / 405.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.2661, allocations: 87.88 kB / 405.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.2668, allocations: 0.5998 MB / 406.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.2671, allocations: 151.9 kB / 406.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.2673, allocations: 70.64 kB / 406.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.2673, allocations: 7.984 kB / 406.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2673, allocations: 38.56 kB / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 3.667e-06/0.2674, allocations: 0 / 406.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005204/0.2679, allocations: 197.2 kB / 406.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.2679, allocations: 102.8 kB / 406.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.2681, allocations: 162.1 kB / 407.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2681, allocations: 29.7 kB / 407.1 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.2681, allocations: 112.6 kB / 407.2 MB, free: 2.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2682, allocations: 31.64 kB / 407.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.2682, allocations: 33.7 kB / 407.3 MB, free: 2.699 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.2683, allocations: 326.8 kB / 407.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.2685, allocations: 35.92 kB / 407.6 MB, free: 2.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.2686, allocations: 129.7 kB / 407.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.2689, allocations: 189.5 kB / 407.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2689, allocations: 0 / 407.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003765/0.2693, allocations: 197.1 kB / 408.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2693, allocations: 4 kB / 408.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2693, allocations: 4 kB / 408.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2694, allocations: 8.406 kB / 408.1 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2695, allocations: 55.91 kB / 408.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.2696, allocations: 4 kB / 408.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2697, allocations: 15.84 kB / 408.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2697, allocations: 15.98 kB / 408.2 MB, free: 1.621 MB / 318.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.0001154/0.2698, allocations: 130.4 kB / 408.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2699, allocations: 7.906 kB / 408.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.27, allocations: 28.7 kB / 408.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.27, allocations: 7.938 kB / 408.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.27, allocations: 0 / 408.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.2701, allocations: 105.2 kB / 408.5 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.2701, allocations: 3.984 kB / 408.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2702, allocations: 12 kB / 408.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.2703, allocations: 7.922 kB / 408.5 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005003/0.2708, allocations: 399.3 kB / 408.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000545/0.2714, allocations: 0.5197 MB / 409.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001397/0.2715, allocations: 60.08 kB / 409.5 MB, free: 308 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.2716, allocations: 119.2 kB / 409.6 MB, free: 188 kB / 318.1 MB Notification: Performance of Backend: time 4.01e-07/0.2716, allocations: 0 / 409.6 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006334/0.2722, allocations: 159 kB / 409.8 MB, free: 24 kB / 318.1 MB Notification: Performance of SimCode: time 0.0009059/0.2732, allocations: 0.853 MB / 410.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.003943/0.2771, allocations: 1.404 MB / 412 MB, free: 13.77 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_functions.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_records.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_01exo.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_02nls.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_03lsy.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_04set.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_05evt.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_06inz.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_07dly.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_08bnd.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_09alg.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_10asr.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_11mix.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_12jac.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_13opt.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_14lnz.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_15syn.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c Modelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o] Error 1