Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.EngineThrottleControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5146,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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl") translateModel(Modelica.Clocked.Examples.Systems.EngineThrottleControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5146,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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2272, allocations: 53.37 MB / 432.3 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.EngineThrottleControl): time 0.005063/0.2323, allocations: 3.024 MB / 435.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2339, allocations: 0.7437 MB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.2341, allocations: 19.88 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.2345, allocations: 67.2 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.2347, allocations: 75.25 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.2354, allocations: 287.5 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007611/0.2362, allocations: 0.6245 MB / 437.2 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.2366, allocations: 245.2 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.2369, allocations: 239.2 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.2372, allocations: 258.9 kB / 437.9 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.974e-05/0.2373, allocations: 72 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.89e-05/0.2374, allocations: 75.94 kB / 438 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.2376, allocations: 139.7 kB / 438.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.2378, allocations: 227 kB / 438.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009263/0.2388, allocations: 0.8559 MB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2388, allocations: 0 / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2388, allocations: 0 / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.2388, allocations: 0 / 439.2 MB, free: 15.83 MB / 350.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.001491/0.2403, allocations: 0.7488 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2403, allocations: 12.02 kB / 440 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2404, allocations: 60.56 kB / 440.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.241, allocations: 340.6 kB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2411, allocations: 97.28 kB / 440.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.2412, allocations: 56.33 kB / 440.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.2429, allocations: 0.9042 MB / 441.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.2429, allocations: 3.938 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.599e-05/0.243, allocations: 16 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.243, allocations: 12 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008505/0.2439, allocations: 363 kB / 441.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.2462, allocations: 1.482 MB / 443.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.2477, allocations: 0.5051 MB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.2481, allocations: 231.8 kB / 444 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.2482, allocations: 12.22 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003991/0.2486, allocations: 239.9 kB / 444.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=57): time 2.605e-06/0.2486, allocations: 0 / 444.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.001363/0.25, allocations: 0.6001 MB / 444.9 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.2501, allocations: 166.2 kB / 445.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2503, allocations: 249.8 kB / 445.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.845e-05/0.2504, allocations: 37.7 kB / 445.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2505, allocations: 213.9 kB / 445.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2506, allocations: 123.1 kB / 445.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.2508, allocations: 98.34 kB / 445.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.251, allocations: 342.8 kB / 446.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.2513, allocations: 149.4 kB / 446.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.2519, allocations: 417.4 kB / 446.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/0.2527, allocations: 0.5551 MB / 447.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.2527, allocations: 4 kB / 447.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001071/0.2538, allocations: 0.5521 MB / 447.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2538, allocations: 12.22 kB / 447.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2538, allocations: 8 kB / 447.8 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.2538, allocations: 12 kB / 447.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.2543, allocations: 123.8 kB / 447.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/0.2544, allocations: 15.94 kB / 447.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.2547, allocations: 63.61 kB / 448 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.2547, allocations: 28 kB / 448 MB, free: 6.477 MB / 350.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.000252/0.255, allocations: 204.3 kB / 448.2 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.2551, allocations: 47.7 kB / 448.3 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.2558, allocations: 312.9 kB / 448.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2558, allocations: 7.922 kB / 448.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2558, allocations: 0 / 448.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.2558, allocations: 43.64 kB / 448.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.2559, allocations: 16 kB / 448.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2561, allocations: 19.98 kB / 448.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.2562, allocations: 23.95 kB / 448.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001429/0.2576, allocations: 0.7991 MB / 449.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001616/0.2593, allocations: 1.098 MB / 450.6 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004295/0.2597, allocations: 207.8 kB / 450.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.2599, allocations: 169.2 kB / 450.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of Backend: time 2.8e-07/0.2599, allocations: 0 / 450.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.261, allocations: 358.5 kB / 451.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of SimCode: time 0.001744/0.2627, allocations: 1.337 MB / 452.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of Templates: time 0.01167/0.2744, allocations: 5.996 MB / 458.6 MB, free: 11.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.makefile [Timeout 660] make -j1 -f Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_functions.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_records.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_01exo.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_02nls.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_03lsy.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_04set.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_05evt.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_06inz.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_07dly.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_08bnd.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_09alg.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_10asr.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_11mix.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_12jac.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_13opt.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_14lnz.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_15syn.o Modelica_4.1.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_1_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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.o Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:612:179: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[53]] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[20]] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:612:205: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[53]] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[20]] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:612:109: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[53]] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[20]] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:612:362: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[53]] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[20]] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:612:400: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[53]] /* speedControl.x_d variable */) = _omcQ_24CLKPRE._speedControl._x_d + (data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.previousInterval) * (((data->simulationInfo->realParameter[data->simulationInfo->realParamsIndex[20]] /* speedControl.k_I PARAM */)) * (_omcQ_24CLKPRE._speedControl._N_des - _omcQ_24CLKPRE._speedControl._N)); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:785:189: error: use of undeclared identifier 'baseClockIndex' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:785:215: error: use of undeclared identifier 'subClockIndex' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:785:417: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.y DISCRETE */) = ((data->simulationInfo->baseClocks[baseClockIndex].subClocks[subClockIndex].stats.count == 1)?0 /* false */:(!((data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[2]] /* engine.crankshaftPositionEvent.rotationalClock.changed.u DISCRETE */) == _omcQ_24CLKPRE._engine._crankshaftPositionEvent._rotationalClock._changed._u))); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:857:339: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[29]] /* engine.inductionToPowerDelay.delay.u_buffer[2] variable */) = (_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._first?(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[27]] /* engine.inductionToPowerDelay.delay.u variable */):real_array_get(_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._u_buffer, 1, ((modelica_integer) 1))); ^ Modelica_4.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.c:857:140: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[29]] /* engine.inductionToPowerDelay.delay.u_buffer[2] variable */) = (_omcQ_24CLKPRE._engine._inductionToPowerDelay._delay._first?(data->localData[0]->realVars[data->simulationInfo->realVarsIndex[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.1.0_Modelica.Clocked.Examples.Systems.EngineThrottleControl_16dae.o] Error 1 [Calling os._exit(0), Time elapsed: 4.063607566000428] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.2823043519965722 0.297157652 0.055294710000000004 Calling exit ...