Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009026/0.0009028, allocations: 90.33 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000932/0.0009321, allocations: 197.4 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002469, allocations: 4 kB / 307.3 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.EngineThrottleControl): time 0.003695/0.1221, allocations: 2.721 MB / 361.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1237, allocations: 0.7166 MB / 362.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.1239, allocations: 8 kB / 362.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.1242, allocations: 51.52 kB / 362.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1244, allocations: 51.55 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.1249, allocations: 179.7 kB / 362.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.1254, allocations: 0.5345 MB / 363 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.126, allocations: 263.1 kB / 363.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.1263, allocations: 143.4 kB / 363.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.1267, allocations: 179 kB / 363.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.1267, allocations: 12 kB / 363.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.707e-05/0.1268, allocations: 20 kB / 363.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.127, allocations: 75.67 kB / 363.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1271, allocations: 109.5 kB / 363.8 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007317/0.1279, allocations: 0.6469 MB / 364.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1279, allocations: 0 / 364.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1279, allocations: 0 / 364.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1279, allocations: 0 / 364.5 MB, free: 8.207 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.001212/0.1291, allocations: 0.7231 MB / 365.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1292, allocations: 8.031 kB / 365.2 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.1293, allocations: 59.25 kB / 365.3 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.1298, allocations: 373.3 kB / 365.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.1299, allocations: 75 kB / 365.7 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.13, allocations: 55.95 kB / 365.8 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.1315, allocations: 0.8785 MB / 366.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1316, allocations: 0 / 366.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.1316, allocations: 16 kB / 366.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1316, allocations: 12 kB / 366.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.1324, allocations: 375 kB / 367 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.1347, allocations: 1.751 MB / 368.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.136, allocations: 0.5393 MB / 369.3 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.1364, allocations: 251 kB / 369.6 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.1365, allocations: 16.77 kB / 369.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.1369, allocations: 220.1 kB / 369.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=57): time 1.994e-06/0.1369, allocations: 0 / 369.8 MB, free: 2.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.001362/0.1383, allocations: 0.6188 MB / 370.4 MB, free: 1.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.1384, allocations: 186.3 kB / 370.6 MB, free: 1.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.1387, allocations: 246.7 kB / 370.8 MB, free: 1.492 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.1388, allocations: 37.7 kB / 370.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1389, allocations: 212.9 kB / 371.1 MB, free: 1.234 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1391, allocations: 126.4 kB / 371.2 MB, free: 1.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.1391, allocations: 12 kB / 371.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1393, allocations: 346.8 kB / 371.6 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.1396, allocations: 157.2 kB / 371.7 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/0.1401, allocations: 415 kB / 372.1 MB, free: 76 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2223/0.3624, allocations: 208.1 kB / 372.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.3624, allocations: 6.719 kB / 372.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001251/0.3637, allocations: 0.6001 MB / 372.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.3637, allocations: 10.84 kB / 372.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.3638, allocations: 8.828 kB / 372.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.3638, allocations: 12.84 kB / 373 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.3643, allocations: 136.2 kB / 373.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.3644, allocations: 18.56 kB / 373.1 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3647, allocations: 63.52 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3647, allocations: 29.12 kB / 373.2 MB, free: 18.77 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.0003296/0.3651, allocations: 213.8 kB / 373.4 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/0.3655, allocations: 230 kB / 373.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006707/0.3662, allocations: 315.2 kB / 373.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3662, allocations: 7.266 kB / 373.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3662, allocations: 4.875 kB / 373.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3662, allocations: 6.391 kB / 374 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3676, allocations: 0.8868 MB / 374.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3676, allocations: 2.156 kB / 374.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.3681, allocations: 113.5 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3681, allocations: 2.688 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.3682, allocations: 14.95 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.3682, allocations: 9.234 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3682, allocations: 4.938 kB / 375 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.3696, allocations: 0.8334 MB / 375.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3697, allocations: 117.1 kB / 375.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.3697, allocations: 18.44 kB / 376 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.37, allocations: 24.7 kB / 376 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.37, allocations: 25.62 kB / 376 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.3701, allocations: 17.34 kB / 376 MB, free: 17.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3703, allocations: 179.6 kB / 376.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3703, allocations: 1 kB / 376.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3708, allocations: 109.4 kB / 376.3 MB, free: 17.8 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.0001299/0.3709, allocations: 125.4 kB / 376.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008383/0.3717, allocations: 456.9 kB / 376.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3718, allocations: 7.891 kB / 376.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.372, allocations: 142.8 kB / 377 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.3727, allocations: 170.2 kB / 377.2 MB, free: 17.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3744, allocations: 1.277 MB / 378.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3748, allocations: 0.8463 MB / 379.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3749, allocations: 43.33 kB / 379.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3749, allocations: 0 / 379.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Templates: time 0.009984/0.3849, allocations: 5.579 MB / 384.9 MB, free: 14.83 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControl.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Systems.EngineThrottleControlCalcHelperMain.o] Error 1