Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 179.4 kB / 16.78 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205 MB / 222.6 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008489/0.0008493, allocations: 84.36 kB / 270.5 MB, free: 8.664 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1016/0.1016, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005567, allocations: 8 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09933, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.002547/0.1019, allocations: 1.739 MB / 443.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1031, allocations: 0.6047 MB / 444 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.1032, allocations: 4 kB / 444 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1034, allocations: 11.86 kB / 444.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.1036, allocations: 23.83 kB / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.104, allocations: 59.89 kB / 444.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1042, allocations: 127.6 kB / 444.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1044, allocations: 45.53 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.246e-05/0.1044, allocations: 43.73 kB / 444.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.005e-05/0.1045, allocations: 47.72 kB / 444.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1046, allocations: 8 kB / 444.4 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.1046, allocations: 8 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1047, allocations: 27.89 kB / 444.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.1047, allocations: 59.55 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1049, allocations: 127.8 kB / 444.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1049, allocations: 0 / 444.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1049, allocations: 0 / 444.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1049, allocations: 0 / 444.6 MB, free: 13.45 MB / 298.7 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.0006043/0.1055, allocations: 442.8 kB / 445.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1056, allocations: 8.031 kB / 445.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1057, allocations: 24.59 kB / 445.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1059, allocations: 212 kB / 445.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1059, allocations: 16.31 kB / 445.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.106, allocations: 16.36 kB / 445.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.1066, allocations: 260.2 kB / 445.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1066, allocations: 0 / 445.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.1066, allocations: 4 kB / 445.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1066, allocations: 11.98 kB / 445.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.107, allocations: 95.88 kB / 445.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.1076, allocations: 0.5998 MB / 446.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.108, allocations: 155.7 kB / 446.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1083, allocations: 82.77 kB / 446.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1083, allocations: 4 kB / 446.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.1083, allocations: 34.56 kB / 446.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.1083, allocations: 0 / 446.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006788/0.109, allocations: 209.4 kB / 446.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1091, allocations: 106.8 kB / 446.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1092, allocations: 163.1 kB / 447 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1092, allocations: 25.7 kB / 447 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1093, allocations: 116.2 kB / 447.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1093, allocations: 19.8 kB / 447.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.1094, allocations: 17.72 kB / 447.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.1094, allocations: 326.9 kB / 447.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.1096, allocations: 39.97 kB / 447.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1098, allocations: 149.6 kB / 447.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1102, allocations: 193.5 kB / 447.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1102, allocations: 4 kB / 447.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005183/0.1107, allocations: 205.3 kB / 448.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1108, allocations: 7.984 kB / 448.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1108, allocations: 4 kB / 448.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1108, allocations: 12.31 kB / 448.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.111, allocations: 43.92 kB / 448.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1111, allocations: 8 kB / 448.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.1112, allocations: 27.95 kB / 448.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.1113, allocations: 16.17 kB / 448.2 MB, free: 9.453 MB / 298.7 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 9.407e-05/0.1114, allocations: 137.7 kB / 448.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.1115, allocations: 11.91 kB / 448.4 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.1116, allocations: 20.7 kB / 448.4 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1116, allocations: 7.922 kB / 448.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1116, allocations: 0 / 448.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1117, allocations: 104.9 kB / 448.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1117, allocations: 8 kB / 448.5 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.112, allocations: 11.98 kB / 448.5 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.112, allocations: 4 kB / 448.5 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000621/0.1127, allocations: 415.3 kB / 448.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006942/0.1134, allocations: 0.5486 MB / 449.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000203/0.1136, allocations: 64.05 kB / 449.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.089e-05/0.1137, allocations: 119.2 kB / 449.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of Backend: time 4.6e-07/0.1137, allocations: 0 / 449.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.1146, allocations: 150.7 kB / 449.8 MB, free: 7.809 MB / 298.7 MB Notification: Performance of SimCode: time 0.0009904/0.1156, allocations: 0.8943 MB / 450.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of Templates: time 0.00464/0.1203, allocations: 1.229 MB / 451.9 MB, free: 5.641 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_functions.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_records.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_01exo.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_02nls.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_03lsy.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_04set.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_05evt.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_06inz.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_07dly.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_08bnd.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_08bnd.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_09alg.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_09alg.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_10asr.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_10asr.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_11mix.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_11mix.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_12jac.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_12jac.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_13opt.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_13opt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_14lnz.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_14lnz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_15syn.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_15syn.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_Synchronous_Modelica_Synchronous_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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:93:93: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[4]/* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:93:119: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[4]/* PI.Ts variable */) = data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval; ^ Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.c:105: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_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController_16dae.o] Error 1