Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.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.Systems.EngineThrottleControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|engine.cylinderAirCharge.integrator.y|engine.inertia.phi|engine.inertia.w|engine.intakeManifold.P_m|engine.throttleBody.m_ai|engine.torque.tau|engine.angleSensor.phi|engine.speedSensor.w",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl") translateModel(Modelica.Clocked.Examples.Systems.EngineThrottleControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|engine.cylinderAirCharge.integrator.y|engine.inertia.phi|engine.inertia.w|engine.intakeManifold.P_m|engine.throttleBody.m_ai|engine.torque.tau|engine.angleSensor.phi|engine.speedSensor.w",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 106.2 kB / 17.74 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.001138/0.001138, allocations: 189.3 kB / 18.68 MB, free: 4.426 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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 43.94 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.312, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.EngineThrottleControl): time 0.006148/0.3182, allocations: 3.204 MB / 404.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.3203, allocations: 0.7515 MB / 405.3 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.3206, allocations: 11.94 kB / 405.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004706/0.3212, allocations: 75.19 kB / 405.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.3214, allocations: 79.23 kB / 405.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3225, allocations: 283.5 kB / 405.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.3233, allocations: 0.6206 MB / 406.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006406/0.3239, allocations: 337.6 kB / 406.7 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.3243, allocations: 231.2 kB / 407 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.3247, allocations: 258.8 kB / 407.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.3248, allocations: 72 kB / 407.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3249, allocations: 72 kB / 407.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.3251, allocations: 147.6 kB / 407.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.3255, allocations: 278.7 kB / 407.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000965/0.3264, allocations: 0.856 MB / 408.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3264, allocations: 0 / 408.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3265, allocations: 0 / 408.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.3265, allocations: 0 / 408.6 MB, free: 1.617 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001518/0.328, allocations: 0.8279 MB / 409.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.328, allocations: 12.03 kB / 409.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.3282, allocations: 56.61 kB / 409.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.3288, allocations: 402.5 kB / 409.9 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.3289, allocations: 67.58 kB / 410 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.329, allocations: 52.38 kB / 410 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.3305, allocations: 0.8755 MB / 410.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.3305, allocations: 3.938 kB / 410.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.3306, allocations: 20 kB / 410.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3306, allocations: 12 kB / 410.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007587/0.3314, allocations: 359 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.3337, allocations: 1.752 MB / 413 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.3351, allocations: 0.5226 MB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004721/0.3356, allocations: 252.5 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.526e-05/0.3357, allocations: 20.5 kB / 413.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.336, allocations: 213.7 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=57): time 2.104e-06/0.3361, allocations: 0 / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=57): time 0.001296/0.3374, allocations: 0.6001 MB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.3374, allocations: 162.2 kB / 414.8 MB, free: 11.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.3377, allocations: 262.6 kB / 415.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.3378, allocations: 33.7 kB / 415.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3379, allocations: 221.3 kB / 415.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.338, allocations: 115.1 kB / 415.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.3382, allocations: 102.5 kB / 415.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3384, allocations: 346.8 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.3387, allocations: 141 kB / 416 MB, free: 9.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.3392, allocations: 393.9 kB / 416.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.34, allocations: 0.5477 MB / 416.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.34, allocations: 4 kB / 416.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009932/0.341, allocations: 0.5598 MB / 417.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.3411, allocations: 8 kB / 417.5 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.3411, allocations: 12.09 kB / 417.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/0.3411, allocations: 12 kB / 417.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.3416, allocations: 119.8 kB / 417.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.3416, allocations: 15.94 kB / 417.7 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.3419, allocations: 51.72 kB / 417.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.342, allocations: 31.98 kB / 417.7 MB, free: 7.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (engine.inductionToPowerDelay.delay.first,engine.crankshaftPositionEvent.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.direction,$whenCondition1,engine.crankshaftPositionEvent.rotationalClock.less.y,engine.cylinderAirCharge.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0002646/0.3422, allocations: 211.8 kB / 417.9 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.3423, allocations: 43.7 kB / 418 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/0.343, allocations: 308.9 kB / 418.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.343, allocations: 3.984 kB / 418.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.343, allocations: 0 / 418.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/0.3431, allocations: 116.8 kB / 418.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.3432, allocations: 27.98 kB / 418.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3434, allocations: 19.98 kB / 418.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.681e-05/0.3435, allocations: 27.95 kB / 418.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.3449, allocations: 0.8031 MB / 419.3 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001494/0.3464, allocations: 1.108 MB / 420.4 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003996/0.3468, allocations: 215.9 kB / 420.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.347, allocations: 189.9 kB / 420.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.347, allocations: 0 / 420.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3481, allocations: 361.5 kB / 421.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of SimCode: time 0.001687/0.3498, allocations: 1.351 MB / 422.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of Templates: time 0.01101/0.3608, allocations: 5.24 MB / 427.7 MB, free: 13.81 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_functions.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_records.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_01exo.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_02nls.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_03lsy.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_04set.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_05evt.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_06inz.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_07dly.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_08bnd.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_09alg.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_10asr.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_11mix.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_12jac.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_13opt.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_14lnz.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_15syn.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_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_Systems_EngineThrottleControl -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.Systems.EngineThrottleControl_16dae.o Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:649:142: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[53] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[23] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:649:168: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[53] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[23] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:649:72: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[53] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[23] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:649:286: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[53] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[23] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:649:324: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[53] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[23] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:835:149: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->booleanVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:835:175: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->booleanVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:835:337: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[2] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:913:265: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[29] /* engine.inductionToPowerDelay.delay.u_buffer[2] variable */) = (_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._first?(data->localData[0]->realVars[27] /* engine.inductionToPowerDelay.delay.u variable */):real_array_get(_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._u_buffer, 1, ((modelica_integer) 1))); ^ Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:913:103: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[29] /* engine.inductionToPowerDelay.delay.u_buffer[2] variable */) = (_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._first?(data->localData[0]->realVars[27] /* engine.inductionToPowerDelay.delay.u variable */):real_array_get(_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._u_buffer, 1, ((modelica_integer) 1))); ^ 10 errors generated. make: *** [: Modelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.o] Error 1