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.0009573/0.0009571, allocations: 94.61 kB / 16.96 MB, free: 6.406 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.001044/0.001044, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.598/1.598, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 4.5 kB / 301.4 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.EngineThrottleControl): time 0.003898/0.1408, allocations: 2.701 MB / 354.6 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.1421, allocations: 0.7126 MB / 355.3 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1423, allocations: 8 kB / 355.3 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.1427, allocations: 55.5 kB / 355.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1428, allocations: 47.56 kB / 355.4 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.1433, allocations: 187.7 kB / 355.6 MB, free: 296 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1439, allocations: 0.5269 MB / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.1443, allocations: 251.3 kB / 356.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1445, allocations: 139.3 kB / 356.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/0.1448, allocations: 183.1 kB / 356.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.1448, allocations: 16 kB / 356.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.1449, allocations: 12 kB / 356.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.145, allocations: 79.61 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.1451, allocations: 105.5 kB / 356.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.1457, allocations: 0.6431 MB / 357.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1457, allocations: 0 / 357.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1457, allocations: 4 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1457, allocations: 0 / 357.5 MB, free: 14.33 MB / 302.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.001226/0.147, allocations: 0.727 MB / 358.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.147, allocations: 11.97 kB / 358.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.1471, allocations: 63.2 kB / 358.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.1476, allocations: 381.2 kB / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.1477, allocations: 67.02 kB / 358.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.1478, allocations: 52 kB / 358.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.1494, allocations: 0.8707 MB / 359.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.1494, allocations: 7.938 kB / 359.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.1495, allocations: 23.95 kB / 359.7 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1495, allocations: 16 kB / 359.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.1503, allocations: 363.1 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.1527, allocations: 1.767 MB / 361.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1539, allocations: 0.5237 MB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/0.1544, allocations: 251.8 kB / 362.6 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.1544, allocations: 20.45 kB / 362.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.1549, allocations: 217.8 kB / 362.8 MB, free: 8.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=57): time 2.024e-06/0.1549, allocations: 3.938 kB / 362.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.001409/0.1563, allocations: 0.6118 MB / 363.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.1565, allocations: 186.5 kB / 363.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.1569, allocations: 254.7 kB / 363.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.136e-05/0.1569, allocations: 33.7 kB / 363.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1572, allocations: 212.8 kB / 364.1 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1573, allocations: 130.4 kB / 364.3 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.1574, allocations: 8 kB / 364.3 MB, free: 7.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.1576, allocations: 350.9 kB / 364.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.158, allocations: 161.2 kB / 364.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005635/0.1585, allocations: 407 kB / 365.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.159, allocations: 215.8 kB / 365.4 MB, free: 5.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.159, allocations: 7.938 kB / 365.4 MB, free: 5.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00108/0.1601, allocations: 0.6004 MB / 366 MB, free: 5.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.1601, allocations: 8 kB / 366 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1601, allocations: 11.94 kB / 366 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.1602, allocations: 12.59 kB / 366 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.1606, allocations: 139.8 kB / 366.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/0.1607, allocations: 15.94 kB / 366.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.161, allocations: 71.47 kB / 366.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.161, allocations: 28 kB / 366.3 MB, free: 5.086 MB / 302.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: 13 (engine.inductionToPowerDelay.delay.first,$CLKPRE.engine.inductionToPowerDelay.delay.first,engine.crankshaftPositionEvent.rotationalClock.changed.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,$CLKPRE.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,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1,engine.cylinderAirCharge.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 6 (engine.inductionToPowerDelay.delay.first,engine.inductionToPowerDelay.delay.u_buffer[1],engine.crankshaftPositionEvent.rotationalClock.changed.u,speedControl.x_d,speedControl.N,speedControl.N_des) * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.1613, allocations: 216.7 kB / 366.5 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.1617, allocations: 237.1 kB / 366.7 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.1624, allocations: 308.4 kB / 367 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.1624, allocations: 11.94 kB / 367 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1624, allocations: 0 / 367 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1624, allocations: 3.984 kB / 367 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.1637, allocations: 0.8845 MB / 367.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1637, allocations: 7.938 kB / 367.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.1642, allocations: 111.8 kB / 368 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1643, allocations: 4 kB / 368 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.1643, allocations: 11.98 kB / 368 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.1643, allocations: 0 / 368 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1643, allocations: 7.953 kB / 368 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.1657, allocations: 0.8353 MB / 368.9 MB, free: 2.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.1658, allocations: 120.7 kB / 369 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.1659, allocations: 16 kB / 369 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1661, allocations: 23.98 kB / 369 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.1662, allocations: 23.92 kB / 369.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.1662, allocations: 19.98 kB / 369.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001871/0.1664, allocations: 174 kB / 369.3 MB, free: 1.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1664, allocations: 0 / 369.3 MB, free: 1.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004972/0.1669, allocations: 115.8 kB / 369.4 MB, free: 1.859 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (engine.throttleBody.m_ai,engine.intakeManifold.P_m,engine.cylinderAirCharge.integrator.y,engine.inertia.w,derivative.u) * Number of discrete variables: 10 (engine.crankshaftPositionEvent.direction,engine.crankshaftPositionEvent.direction_changed,engine.crankshaftPositionEvent.rotationalClock.direction,engine.crankshaftPositionEvent.rotationalClock.direction_changed,engine.crankshaftPositionEvent.rotationalClock.cast.y,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.crankshaftPositionEvent.rotationalClock.changed.y,engine.inductionToPowerDelay.delay.first,engine.crankshaftPositionEvent.rotationalClock.less.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 6 (speedControl.N_des,speedControl.N,speedControl.x_d,engine.crankshaftPositionEvent.rotationalClock.changed.u,engine.inductionToPowerDelay.delay.u_buffer[1],engine.inductionToPowerDelay.delay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.1671, allocations: 132.9 kB / 369.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000902/0.168, allocations: 453.4 kB / 369.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1681, allocations: 4 kB / 369.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002617/0.1683, allocations: 143.9 kB / 370.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.169, allocations: 172.5 kB / 370.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2268/0.3958, allocations: 1.275 MB / 371.5 MB, free: 24.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.3964, allocations: 0.8418 MB / 372.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.3968, allocations: 41.2 kB / 372.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of SimCode: time 4.699e-06/0.3968, allocations: 0 / 372.4 MB, free: 23.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01565/0.4125, allocations: 5.573 MB / 378 MB, free: 23.14 MB / 302.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++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.o] Error 1